Closed RichardIvan closed 7 years ago
after adding --force option the output is now
<--- Last few GCs --->
639713 ms: Mark-sweep 471.7 (1434.5) -> 471.6 (1434.5) MB, 1295.7 / 0 ms [allocation failure] [GC in old space requested].
641037 ms: Mark-sweep 471.6 (1434.5) -> 471.6 (1434.5) MB, 1324.4 / 0 ms [allocation failure] [GC in old space requested].
642542 ms: Mark-sweep 471.6 (1434.5) -> 471.6 (1434.5) MB, 1505.1 / 0 ms [last resort gc].
644072 ms: Mark-sweep 471.6 (1434.5) -> 471.6 (1434.5) MB, 1529.8 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x1949a36c9e59 <JS Object>
2: new constructor(aka GlobSync) [/usr/local/nvm/versions/node/v6.2.2/lib/node_modules/commitizen/node_modules/findup-sync/node_modules/glob/sync.js:35] [pc=0x3abb2000a82a] (this=0xbbb5d10d3e9 <a GlobSync with map 0x3d9dd9652e39>,pattern=0x837de061451 <String[12]:``node_modules>,options=0xbbb5d10d229 <an Object with map 0x3d9dd9649bc9>) 4: sync(aka globSync) [/usr/local/nvm/versions/node...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Aborted
What versions of Node an NPM do you have?
Allocation failed - JavaScript heap out of memory
Seems like you ran out of memory?
@RichardIvan What size droplet are you on? There are some known issues with npm install running out of memory on low memory droplets (specifically 1GB and lower).
Closing due to non-activity and inability to reproduce. Please feel free to reopen and add more info on the droplet you're using.
I tried to run
commitizen init cz-conventional-changelog --save-dev --save-exact
root@283878d76960:/app# commitizen init cz-conventional-changelog --save-dev --save-exact
Attempting to initialize using the npm package cz-conventional-changelog
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN eslint-config-standard-jsx@1.2.1 requires a peer of eslint@^2.1.0 but none was installed.
npm WARN gulp-spawn-mocha@3.0.0 requires a peer of istanbul@^0.4.3 but none was installed.
npm WARN serviceworker-loader@0.1.0 requires a peer of webpack@>=0.9 <2 but none was installed.
I'm on docker trying to install the comitzen adapter. Previously it was saying that the editor cannot be found. I thought this will help to resolve the issues. Unfortunately this is where it finishes loading. Nothing happens after that.