I’m currently in the process of migrating a number of big Meteor projects to 3.0. It’s working pretty fine on my development laptop, which is a MacBook Pro M2 Pro.
But whatever I try in order to replicate the upgrades on Ubuntu servers, or even to create new blank Meteor projects on a fresh Ubuntu distro, I get tons of errors. Sometimes the word “killed” weirdly appears at the beginning of the last log, partially overwriting the word “Extracting”, sometimes it’s a long list of errors, the first of which being related to the webapp package.
Here is an example of what the console displays after running meteor create test-app --release 3.0-beta.0
:
Using react skeleton
Something has happened while creating your app using git clone.
Will use cached version of skeletons.
Error message: Using release option
=> Errors while creating your project
While loading package webapp@2.0.0-beta300.0:
error: Command failed: /home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild
--update-binary
npm ERR! code 1
npm ERR! path /home/ubuntu/.meteor/packages/webapp/.2.0.0-beta300.0.76vhwg.c8hph++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-dyfmup.rj79o/node_modules/posix
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack at getNotFoundError
(/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:10:17)
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack at new Promise (<anonymous>)
npm ERR! gyp ERR! stack at step
(/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack at new Promise (<anonymous>)
npm ERR! gyp ERR! stack at subStep
(/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 6.2.0-37-generic
npm ERR! gyp ERR! command "/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/.meteor/packages/webapp/.2.0.0-beta300.0.76vhwg.c8hph++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-dyfmup.rj79o/node_modules/posix
npm ERR! gyp ERR! node -v v20.9.0
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2024-01-28T10_06_04_037Z-debug-0.log
npm ERR! code 1
npm ERR! path /home/ubuntu/.meteor/packages/webapp/.2.0.0-beta300.0.76vhwg.c8hph++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-dyfmup.rj79o/node_modules/posix
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: not found: make
npm ERR! gyp ERR! stack at getNotFoundError
(/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:10:17)
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:57:18
npm ERR! gyp ERR! stack at new Promise (<anonymous>)
npm ERR! gyp ERR! stack at step
(/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:54:21)
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:71:22
npm ERR! gyp ERR! stack at new Promise (<anonymous>)
npm ERR! gyp ERR! stack at subStep
(/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:69:33)
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:80:22
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/isexe/index.js:42:5
npm ERR! gyp ERR! stack at
/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
npm ERR! gyp ERR! System Linux 6.2.0-37-generic
npm ERR! gyp ERR! command "/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/ubuntu/.meteor/packages/meteor-tool/.3.0.0-beta.0.15c5qmi.n7fu++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
npm ERR! gyp ERR! cwd /home/ubuntu/.meteor/packages/webapp/.2.0.0-beta300.0.76vhwg.c8hph++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/.temp-dyfmup.rj79o/node_modules/posix
npm ERR! gyp ERR! node -v v20.9.0
npm ERR! gyp ERR! node-gyp -v v9.4.0
npm ERR! gyp ERR! not ok
This is happening both for 3.0 alpha and beta, on Ubuntu versions 23.04 and 20.04.6 LTS.
Does anyone have a clue ?