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 install produce FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory #188

Open
8 tasks
androidotai opened this issue Apr 24, 2019 · 3 comments

Comments

@androidotai
Copy link

Description

npm install taking longer time to execute and produce
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Expected outcome

The npm install execute successfully

Actual outcome

The npm install execute unsuccessfully

Live Demo

Steps to reproduce

npm install

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

Logs

.....
8944 verbose lifecycle @polymer/[email protected]prepare: CWD: D:\TUTORIALS\StencilsTuts_Codes\paper-button
8945 silly lifecycle @polymer/[email protected]
prepare: Args: [ '/d /s /c', 'npm run generate-types' ]
8946 silly lifecycle @polymer/[email protected]prepare: Returned: code: 134 signal: null
8947 info lifecycle @polymer/[email protected]
prepare: Failed to exec prepare script
8948 verbose stack Error: @polymer/[email protected] prepare: npm run generate-types
8948 verbose stack Exit status 134
8948 verbose stack at EventEmitter. (C:\Users\user\AppData\Roaming\nvm\v10.1.0\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
8948 verbose stack at EventEmitter.emit (events.js:182:13)
8948 verbose stack at ChildProcess. (C:\Users\user\AppData\Roaming\nvm\v10.1.0\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
8948 verbose stack at ChildProcess.emit (events.js:182:13)
8948 verbose stack at maybeClose (internal/child_process.js:957:16)
8948 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:5)
8949 verbose pkgid @polymer/[email protected]
8950 verbose cwd D:\TUTORIALS\StencilsTuts_Codes\paper-button
8951 verbose Windows_NT 10.0.17763
8952 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
8953 verbose node v10.1.0
8954 verbose npm v6.9.1-next.0
8955 error code ELIFECYCLE
8956 error errno 134
8957 error @polymer/[email protected] prepare: npm run generate-types
8957 error Exit status 134
8958 error Failed at the @polymer/[email protected] prepare script.
8958 error This is probably not a problem with npm. There is likely additional logging output above.
8959 verbose exit [ 134, true ]

@keanulee
Copy link
Contributor

Wasn't able to reproduce on macOS 10.14.4 with Node v10.14.2 and NPM 6.4.1. More details?

@androidotai
Copy link
Author

Wasn't able to reproduce on macOS 10.14.4 with Node v10.14.2 and NPM 6.4.1. More details?

Windows 10, node v10.1.0 and NPM 6.9.1-next.0.

@DrNiels
Copy link

DrNiels commented May 16, 2019

I'm having the same issue. I use Windows 10 as well, with node v9.11.1 and npm 5.6.0.

However, I have that issue with iron-resizable-behavior as well, so maybe the issue is someplace else

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

3 participants