-
Notifications
You must be signed in to change notification settings - Fork 291
npm run development aborts #1643
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
Comments
on the face of it, it indicates that Figuring out your resource settings ( /cc however copying @addaleax for an expert guidance. |
Re-ran npm run development and now get:
events.js:167 Error: spawn node_modules/webpack/bin/webpack.js EACCES npm ERR! A complete log of this run can be found in: debug.log shows: cat ~/.npm/logs/2018-11-30T12_14_47_570Z-debug.log |
Fixed previous issue. Pathname on cross-env command line missing /dist before /bin. Original issue though still occurs. ulimit -a gives: core file size (blocks, -c) 0 Which limit might need increasing (using a hosted service) |
could you pls try running with increased user process count? |
Sadly no. I've asked and as I am using a shared service they won't increase the process count. Is there any way of reducing the process burden through a command option? If not please close this issue and I'll look elsewhere for a solution. Thanks for your time. |
I fear no; as that will involve looking deep into the commands, and then the individual scripts / modules that get executed and circumventing process spawning logic etc. to contain within the said restrictions; and eventually ending up not meeting the real purpose of running this command. :) So I will close this out on your statement; looks like there is nothing that can be done from Node's perspective. thanks! |
Developing Laravel app.
package.json:
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"axios": "^0.16.2",
"bootstrap-sass": "^3.3.7",
"cross-env": "^5.0.1",
"jquery": "^3.1.1",
"laravel-mix": "^1.0",
"lodash": "^4.17.4",
"vue": "^2.1.10"
},
"dependencies": {
"ajv": "^6.5.0"
}
}
npm run development produced:
node[1610]: ../src/node_platform.cc:63:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0x944930 node::Abort() [node]
2: 0x9449c5 [node]
3: 0x99975a node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
4: 0x99981b node::NodePlatform::NodePlatform(int, node::tracing::TracingController*) [node]
5: 0x9172b6 node::Start(int, char**) [node]
6: 0x7fc74a119d20 __libc_start_main [/lib64/libc.so.6]
7: 0x8ce035 [node]
Aborted
The text was updated successfully, but these errors were encountered: