error on build

264 views
Skip to first unread message
Assigned to lorenzo...@geosolutionsgroup.com by me

Giorgio Saporito

unread,
Oct 1, 2021, 11:06:03 AM10/1/21
to mapstore-developers
Dear Mapstorers,
when I try to build.sh I get this error:
92% sealing asset processing TerserPluginKilled
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! maps...@0.2.4 compile: `npm run clean && mkdirp ./web/client/dist && node --max_old_space_size=3072 ./node_modules/webpack/bin/webpack.js --progress --color --config build/prod-webpack.config.js`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the maps...@0.2.4 compile 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!     /home/####/.npm/_logs/2021-10-01T15_04_09_658Z-debug.log

log files:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/bin/npm', 'run', 'compile' ]
2 info using n...@6.14.15
3 info using no...@v14.18.0
4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info lifecycle maps...@0.2.4~precompile: maps...@0.2.4
6 info lifecycle maps...@0.2.4~compile: maps...@0.2.4
7 verbose lifecycle maps...@0.2.4~compile: unsafe-perm in lifecycle true
8 verbose lifecycle maps...@0.2.4~compile: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/srv/map>
9 verbose lifecycle maps...@0.2.4~compile: CWD: /srv/mapstore/MapStore2-2021.01.04
10 silly lifecycle maps...@0.2.4~compile: Args: [
10 silly lifecycle   '-c',
10 silly lifecycle   'npm run clean && mkdirp ./web/client/dist && node --max_old_space_size=3072 ./node_modules/webpack/bin/>
10 silly lifecycle ]
11 silly lifecycle maps...@0.2.4~compile: Returned: code: 137  signal: null
12 info lifecycle maps...@0.2.4~compile: Failed to exec compile script
13 verbose stack Error: maps...@0.2.4 compile: `npm run clean && mkdirp ./web/client/dist && node --max_old_space_size=3072>
13 verbose stack Exit status 137
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:400:28)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:400:28)
13 verbose stack     at maybeClose (internal/child_process.js:1058:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
14 verbose pkgid maps...@0.2.4
15 verbose cwd /srv/mapstore/MapStore2-2021.01.04
16 verbose Linux 5.11.0-25-generic
17 verbose argv "/usr/bin/node" "/bin/npm" "run" "compile"
18 verbose node v14.18.0
19 verbose npm  v6.14.15
20 error code ELIFECYCLE
21 error errno 137
22 error maps...@0.2.4 compile: `npm run clean && mkdirp ./web/client/dist && node --max_old_space_size=3072 ./node_modules>
22 error Exit status 137
23 error Failed at the maps...@0.2.4 compile script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 137, true ]





Lorenzo Natali

unread,
Nov 17, 2021, 3:50:12 AM11/17/21
to mapstore-developers
Hi,
do you still have this problem?
Make you sure to have the latest stable release or the master and use the required versions of npm - nodeJS, etc...
Reply all
Reply to author
Forward
0 new messages