2016-03-02 73 views
0

無法運行「咕嚕服務」錯誤:無法找到模塊「負載咕嚕任務」

獲取下面連接錯誤,請做要緊

enter image description here

C:\wamp\www\ui\app>npm install 
npm ERR! install Couldn't read dependencies 
npm ERR! Windows_NT 6.1.7601 
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
npm ERR! node v4.3.1 
npm ERR! npm v2.14.12 
npm ERR! path C:\wamp\www\ui\app\package.json 
npm ERR! code ENOPACKAGEJSON 
npm ERR! errno -4058 
npm ERR! syscall open 

npm ERR! package.json ENOENT: no such file or directory, open 'C:\wamp\www\ui\app\package.json' 
npm ERR! package.json This is most likely not a problem with npm itself. 
npm ERR! package.json npm can't find a package.json file in your current directory. 

npm ERR! Please include the following file with any support request: 
npm ERR!  C:\wamp\www\ui\app\npm-debug.log 

C:\wamp\www\ui\app>grunt serve 
Loading "Gruntfile.js" tasks...ERROR 
>> Error: Cannot find module 'load-grunt-tasks' 
Warning: Task "serve" not found. Use --force to continue. 

Aborted due to warnings. 

回答

2

運行npm installgrunt serve

如果沒有幫助,那麼你需要npm install --save-dev load-grunt-tasks

+0

我附上了我的問題筆記,當我跑npm安裝 – Bharanikumar

1

你可以試試這個:一般

npm install load-grunt-tasks 

,當你有:

Error Cannot find module 'module_name' 

然後npm install module_name安裝你的模塊!