question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm error 68% building 3528/3594 modules 66 active ...-map/node_modules/d3-array/src/count.jsinternal/child_process.js:366 throw errnoException(err, 'spawn'); ^

See original GitHub issue

68% building 3528/3594 modules 66 active …-map/node_modules/d3-array/src/count.jsinternal/child_process.js:366 throw errnoException(err, ‘spawn’); ^

Error: spawn ENOMEM at ChildProcess.spawn (internal/child_process.js:366:11) at Object.spawn (child_process.js:551:9) at new PoolWorker (/app/superset/assets/node_modules/thread-loader/dist/WorkerPool.js:49:43) at WorkerPool.createWorker (/app/superset/assets/node_modules/thread-loader/dist/WorkerPool.js:338:23) at WorkerPool.distributeJob (/app/superset/assets/node_modules/thread-loader/dist/WorkerPool.js:329:28) at /app/superset/assets/node_modules/async/queue.js:10:5 at process (/app/superset/assets/node_modules/async/internal/queue.js:164:17) at Immediate.<anonymous> (/app/superset/assets/node_modules/async/internal/setImmediate.js:27:16) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! superset@0.999.0-dev build: cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --mode=production --colors --progress npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the superset@0.999.0-dev build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-12-05T07_15_33_517Z-debug.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nytaicommented, Dec 5, 2019

@Aabhusan looks like a node out of memory error. What are the resources of the machine you’re trying to build this on?

1reaction
issue-label-bot[bot]commented, Dec 5, 2019

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.85. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GULP Error internal/child_process.js:298 throw ...
until yesterday I was using Gulp and it jsut worked. Today I get this errormsg: internal/child_process.js:298 throw errnoException(err, ...
Read more >
cross-spawn - npm
Has an issue with command shims (files in node_modules/.bin/ ), where arguments with quotes and parenthesis would result in invalid syntax error ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found