paper-button icon indicating copy to clipboard operation
paper-button copied to clipboard

npm install produce FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Open androidotai opened this issue 5 years ago • 3 comments

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 ]

androidotai avatar Apr 24 '19 06:04 androidotai

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

keanulee avatar Apr 24 '19 16:04 keanulee

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.

androidotai avatar Apr 24 '19 21:04 androidotai

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

DrNiels avatar May 16 '19 10:05 DrNiels