第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Grunt 啟動后報錯Warning: Task "default" not found.實在找不到

Grunt 啟動后報錯Warning: Task "default" not found.實在找不到

眼眸繁星 2019-03-13 18:15:01
今天學(xué)習(xí)grunt,在配置好之后啟動出現(xiàn)一下問題:Loading "gruntfile.js" tasks...ERROR>> SyntaxError: Unexpected token .Warning: Task "default" not found. Use --force to continue.Aborted due to warnings.我的gruntfile.js'use strict'module.exports = function(grunt){    grunt.initConfig({        // watch的配置        watch : {            jade :{                files : ['views/**'],                options : {                    livereload : true                }            },            js : {                files : ['page/**'],                options : {                    livereload : true                }            }        },        nodemon : {            dev : {                script : 'app.js',                options : {                    args : [],                    nodeArgs : ['--debug'],                    ignore : ['README.md', 'node_modules/**', '.DS_Store'],                    ext : 'js',                    watch : [./],                    delay : 1000,                    env : {                        PORT : '3000'                    },                    cwd : __dirname                }            }        },        concurrent : {            tasks : ['nodemon','watch'],            options : {                logConcurrentOutput : true            }        }    });     grunt.loadNpmTasks('grunt-contrib-watch');    grunt.loadNpmTasks('grunt-nodemon');    grunt.loadNpmTasks('grunt-concurrent');        grunt.option('force', true);    grunt.registerTask('default', ['concurrent']);}package.json{  "name": "myblog",  "version": "1.0.0",  "description": "",  "main": "app.js",  "dependencies": {    "bootstrap": "^3.3.7",    "express": "^4.16.3",    "grunt": "^1.0.2",    "grunt-contrib-watch": "^1.0.1",    "jade": "^1.11.0",    "serve-static": "^1.13.2",    "wangeditor": "^3.1.1"  },  "devDependencies": {    "grunt-concurrent": "^2.3.1",    "grunt-nodemon": "^0.4.2"  },格式括號等問題我都排查了好幾遍,然后里面運(yùn)用到的3個組件都分別去查看了相關(guān)文檔,也在Stack Overflow查了相關(guān)的問題,但是那些解答都非常私人化.哪位大大可以幫忙排查一下.
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 881 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號