Open mitsol opened 2 years ago
I've been using mup for a very long time. But recently it's not possible to solve this issue:
/bin/sh: 1: cmake: not found
Here the complete error message:
------------------------------------STDERR------------------------------------ The command '/bin/sh -c cd /built_app/programs/server && npm install --unsafe-perm' returned a non-zero code: 1 real 2m2,553s user 0m1,742s sys 0m1,566s ------------------------------------STDOUT------------------------------------ node_modules/meteor/ostrio_files/node_modules/npm-packlist npm-bundled@1.1.1 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/npm-bundled npm-normalize-package-bin@1.0.1 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/npm-normalize-package-bin rc@1.2.8 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/rc strip-json-comments@2.0.1 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/strip-json-comments semver@5.7.1 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/semver tar@4.4.13 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/tar chownr@1.1.4 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/chownr fs-minipass@1.2.7 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/fs-minipass minipass@2.9.0 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/minipass yallist@3.1.1 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/yallist minizlib@1.3.3 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/node-pre-gyp/node_modules/minizlib tslib@2.0.0 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/tslib request-libcurl@2.2.1 /built_app/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/request-libcurl > core-js@2.6.12 postinstall /built_app/programs/server/npm/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" > cpu-features@0.0.2 install /built_app/programs/server/npm/node_modules/cpu-features > node-gyp rebuild make: Entering directory '/built_app/programs/server/npm/node_modules/cpu-features/build' ACTION Configuring dependencies /built_app/programs/server/npm/node_modules/cpu-features/deps/cpu_features/build/Makefile /bin/sh: 1: cmake: not found make: *** [config_deps.target.mk:13: /built_app/programs/server/npm/node_modules/cpu-features/deps/cpu_features/build/Makefile] Error 127 make: Leaving directory '/built_app/programs/server/npm/node_modules/cpu-features/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/app/.nvm/versions/node/v14.19.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12) gyp ERR! System Linux 4.15.0-173-generic gyp ERR! command "/home/app/.nvm/versions/node/v14.19.3/bin/node" "/home/app/.nvm/versions/node/v14.19.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /built_app/programs/server/npm/node_modules/cpu-features gyp ERR! node -v v14.19.3 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cpu-features@0.0.2 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cpu-features@0.0.2 install 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/2022-07-26T22_59_23_114Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! meteor-dev-bundle@ install: `node npm-rebuild.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the meteor-dev-bundle@ install 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/2022-07-26T22_59_23_216Z-debug.log
I cannot reproduce what changes caused this. Anyway i tried to use build instructions to install cmake within the mup. json config but without success
image: "zodern/meteor:root", buildInstructions: [ 'RUN apt-get update && apt-get install -y build-essential' ],
Anyone any idea why this happened and how i can try to solve it? I use MUP version 1.5.9
I've been using mup for a very long time. But recently it's not possible to solve this issue:
Here the complete error message:
I cannot reproduce what changes caused this. Anyway i tried to use build instructions to install cmake within the mup. json config but without success
Anyone any idea why this happened and how i can try to solve it? I use MUP version 1.5.9