請問,我在啟動grunt concurrent的時候遇到報錯:No "concurrent" targets found;
我之前已經用npm下載好了,并且在Gruntfile.js里使用:grunt.loadNpmTasks('grunt-concurrent');載入插件。
請問,我在啟動grunt concurrent的時候遇到報錯:No "concurrent" targets found;
我之前已經用npm下載好了,并且在Gruntfile.js里使用:grunt.loadNpmTasks('grunt-concurrent');載入插件。
2014-09-24
舉報
2016-09-20
你配置的最后一行應該是:
2016-09-20
不知道你的問題有沒有解決 我也遇到了一樣的問題:
2014-10-10
這是完整的配置代碼:
2014-09-26
我已經按照你的方法執行了,但報錯還是存在。
這是我的Gruntfile.js配置內容:
但是不管我在npm里執行grunt,還是grunt concurrent。都報錯No "concurrent" targets found.
2014-09-25
npm install?grunt-concurrent --save
留意一下,是否能安裝成功。
直接?grunt concurrent 是需要你先注冊,也就是?registerTask 一個 grunt task 名字,然后才能在命令行里調用