MUp deploy fail on Ubuntu server
See original GitHub issueApp is working fine on local, but when I try to push it on server, it fails and show the below errors.
Mup version (mup --version
): 1.4.5
’ Step 6/6 : RUN cd /built_app/programs/server && npm install --unsafe-perm —> Running in f924239aaa65
> fibers@1.0.13 install /built_app/programs/server/node_modules/fibers
> node build.js || nodejs build.js
`linux-x64-v8-4.5` exists; testing
Binary is fine; exiting
> meteor-dev-bundle@0.0.0 install /built_app/programs/server
> node npm-rebuild.js
> bcrypt@1.0.3 install /built_app/programs/server/npm/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
sh: 1: node-pre-gyp: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! bcrypt@1.0.3 install: `node-pre-gyp install --fallback-to-build`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the bcrypt@1.0.3 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/2018-06-26T06_25_33_869Z-debug.log
npm WARN meteor-dev-bundle@0.0.0 No description
npm WARN meteor-dev-bundle@0.0.0 No repository field.
npm WARN meteor-dev-bundle@0.0.0 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meteor-dev-bundle@0.0.0 install: `node npm-rebuild.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meteor-dev-bundle@0.0.0 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/2018-06-26T06_25_33_907Z-debug.log
`
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
[SOLVED] Meteor Up - Deploy Build Error
Hi, I'm trying to setup a GitLab Runner for my CICD pipeline. The runner is installed on a server running Ubuntu 20.04.
Read more >mup deploy error - x Start Meteor: FAILED - Stack Overflow
On Windows 10 PowerShell as admin, trying to deploy a Meteor app using mup, onto a VPS Ubuntu 20.04.
Read more >Documentation - Meteor Up
Deploying an App. mup deploy. This will bundle the Meteor project locally and deploy it to the remote server(s).
Read more >I can't deploy with MUP because an error with docker/mongodb
I have checked and I can connect through ssh to the server. I am using one of the One-click droplets from Digital Ocean...
Read more >mup - npm
Meteor Up is a command line tool that allows you to deploy any Meteor app to your own server. It currently supports Ubuntu....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Your app needs
node-pre-gyp
, which the docker image you are using doesn’t have. It is possible to customize the docker image withapp.docker.buildInstructions
:@zodern , Thanks a lot, your solution did the great job, it is working correctly.