Skip to content

关于npm run dev 失败 #12

@l3n641

Description

@l3n641

你好,我按运行 npm run dev 的时候报错了,请问这是什么引起的.
错误代码如下:
webpack: bundle is now VALID. [BABEL] Note: The code generator has deoptimised the styling of "/var/www/actionview-fe/server/api/routes.js" as it exceeds the max of "100KB". server express server listening on 3000 +0ms dev type rs` in console to restart express server +9s
fs.js:1236
throw error;
^

Error: watch /var/www/actionview-fe/server ENOSPC
at exports._errnoException (util.js:870:11)
at FSWatcher.start (fs.js:1234:19)
at Object.fs.watch (fs.js:1262:11)
at watch (/var/www/actionview-fe/node_modules/node-watch/lib/watch.js:256:27)
at /var/www/actionview-fe/node_modules/node-watch/lib/watch.js:203:14
at Array.forEach (native)
at /var/www/actionview-fe/node_modules/node-watch/lib/watch.js:202:13
at ChildProcess. (/var/www/actionview-fe/webpack/utils/start-express.js:50:9)
at ChildProcess.g (events.js:260:16)
at emitTwo (events.js:87:13)

npm ERR! Linux 4.4.0-174-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! actionview-frontend@0.0.1 dev: babel-node ./webpack/dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the actionview-frontend@0.0.1 dev script 'babel-node ./webpack/dev-server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the actionview-frontend package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel-node ./webpack/dev-server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs actionview-frontend
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls actionview-frontend
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:`

日志如下:

tail -f /var/www/actionview-fe/npm-debug.log 23 error If you do, this is most likely a problem with the actionview-frontend package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error babel-node ./webpack/dev-server 23 error You can get information on how to open an issue for this project with: 23 error npm bugs actionview-frontend 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls actionview-frontend 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions