0
當我有一個在發展中的收到錯誤:運行咕嚕
yarn start
啓動了一個項目產卵./node_modules/.bin/grunt ENOENT它運行一個index.js
啓動咕嚕過程,並得到這個錯誤:
$ yarn start
yarn start v0.23.2
$ node ./development
grunt_arguments [ '--force', '--notify', '--verbose', '--debug', '--stack' ]
=======================================
Open http://localhost:8000 to start developing
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn ./node_modules/.bin/grunt ENOENT
at exports._errnoException (util.js:907:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:189:32)
at onErrorNT (internal/child_process.js:355:16)
at nextTickCallbackWith2Args (node.js:458:9)
at process._tickCallback (node.js:372:17)
at Function.Module.runMain (module.js:443:11)
at startup (node.js:139:18)
at node.js:990:3
error Command failed with exit code 1.
不知道它是什麼。環境是:
- Win10
- 與MINGW64
感謝@Danziger,我通過切換到linux工作;) – R01010010