Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于npm run dev 失败 #12

Open
l3n641 opened this issue Apr 1, 2020 · 0 comments
Open

关于npm run dev 失败 #12

l3n641 opened this issue Apr 1, 2020 · 0 comments

Comments

@l3n641
Copy link

l3n641 commented Apr 1, 2020

你好,我按运行 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! [email protected] dev: babel-node ./webpack/dev-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant