Doh! Error deploying Meteor JS 'mup deploy' command - Preparing Bundle: FAILED

December 13, 2017 566 views
Deployment JavaScript Nginx Node.js Ubuntu Ubuntu 16.04

Hello, when I run the following commpand: 'mup deploy' I get the following message after app is pushed to DO Droplet:

Started TaskList: Pushing Meteor App
[46.101.82.119] - Pushing Meteor App Bundle to the Server
[46.101.82.119] - Pushing Meteor App Bundle to the Server: SUCCESS
[46.101.82.119] - Prepare Bundle
[46.101.82.119] x Prepare Bundle: FAILED

-----------------------------------STDERR-----------------------------------
The command '/bin/sh -c cd  /built_app/programs/server &&     npm install --unsafe-perm' returned a non-zero code: 1
Error response from daemon: Cannot link to a non running container: /mongodb AS /Seen/mongodb
Error: failed to start containers: Seen
-----------------------------------STDOUT-----------------------------------
put above.
npm ERR! code ELIFECYCLE
npm ERR! errno -2
npm ERR! bcrypt@1.0.3 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status -2
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/2017-12-13T20_31_44_061Z-debug.log
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/2017-12-13T20_31_44_120Z-debug.log

I'm new to server-side deployment / dev so apologies if this is a fairly simple fix, I just don't know what I'm looking for.

Kindest
-Will

Be the first one to answer this question.