mup deploy failed at Preparing Bundle
See original GitHub issueHi, I’m having problem with deploying my app. Was doing fine few days ago, but it suddenly happened today and I haven’t been able to deploy since then. Thought it was a problem with npm itself, so I updated mup, node and npm to latest version but it still happens.
Here is my mup.cmd deploy --verbose
. Can anyone please help?
[xxx.xxx.xxx.xxx] - Pushing Meteor App Bundle to The Server
[xxx.xxx.xxx.xxx] - Pushing Meteor App Bundle to The Server: SUCCESS
[xxx.xxx.xxx.xxx] - Prepare Bundle
base: Pulling from abernix/meteord
Digest: sha256:b77c06e918d75e313167ac7aaf123407eeb424136fba528cbdcfcb7ff1be65bb
Status: Image is up to date for abernix/meteord:base
clientdiary
Sending build context to Docker daemon 306.5MB
Step 1/8 : FROM abernix/meteord:base
Executing 1 build trigger...
Step 1/1 : ENV NODE_VERSION ${NODE_VERSION:-4.8.4}
---> Using cache
---> e15d24ff01e0
Step 2/8 : RUN mkdir /built_app
---> Using cache
---> 105b988a2df0
Step 3/8 : COPY ./ /built_app
---> Using cache
---> da09581bb9bc
Step 4/8 : ENV ROOT_URL [mydomain]
---> Using cache
---> aef3d2b964f4
Step 5/8 : ENV MONGO_URL [myMongo]
---> Using cache
---> e4e3c4c3aaca
Step 6/8 : ENV MONGO_OPLOG_URL [myMongoOplog]
---> Using cache
---> b0c0acc93f0e
Step 7/8 : ENV CLUSTER_WORKERS_COUNT auto
---> Using cache
---> c560a2481c4c
Step 8/8 : RUN cd /built_app/programs/server && npm install --unsafe-perm
---> Running in f1e0c9ca155a
> 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
> v8-profiler@5.6.5 preinstall /built_app/programs/server/npm/node_modules/meteor/meteorhacks_kadira-binary-deps/node_modules/v8-profiler
> node -e 'process.exit(0)'
> v8-profiler@5.6.5 install /built_app/programs/server/npm/node_modules/meteor/meteorhacks_kadira-binary-deps/node_modules/v8-profiler
> node-pre-gyp install --fallback-to-build
sh: 1: node-pre-gyp: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! v8-profiler@5.6.5 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the v8-profiler@5.6.5 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-11-05T00_54_41_150Z-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 126
npm ERR! meteor-dev-bundle@0.0.0 install: `node npm-rebuild.js`
npm ERR! Exit status 126
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-11-05T00_54_41_173Z-debug.log
The command '/bin/sh -c cd /built_app/programs/server && npm install --unsafe-perm' returned a non-zero code: 126
clientdiary
[xxx.xxx.xxx.xxx] x Prepare Bundle: FAILED
-----------------------------------STDERR-----------------------------------
The command '/bin/sh -c cd /built_app/programs/server && npm install --unsafe-perm' returned a non-zero code: 126
-----------------------------------STDOUT-----------------------------------
m Exit status 126
npm ERR!
npm ERR! Failed at the v8-profiler@5.6.5 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-11-05T00_54_41_150Z-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 126
npm ERR! meteor-dev-bundle@0.0.0 install: `node npm-rebuild.js`
npm ERR! Exit status 126
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-11-05T00_54_41_173Z-debug.log
[myAppName]
----------------------------------------------------------------------------
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Mup fails at prepare bundle · Issue #734 · zodern/meteor-up
Failed at the meteor-dev-bundle@0.0.0 install script 'node npm-rebuild.js'. npm ERR! Make sure you have the latest version of node.js and npm ...
Read more >Fibers Installed Failed. Meteor MUP Deployment Prepare ...
I'm experimenting with the meteor platform, specifically deployment to EC2, I'm using the following a base ...
Read more >Mup deploy node version problem - help - Meteor forums
i created simple app and tried to deploy it using mup. ... [206.189.63.106] - Prepare Bundle [206.189.63.106] x Prepare Bundle: FAILED ...
Read more >Doh! Error deploying Meteor JS 'mup deploy' command
Hello, when I run the following commpand: 'mup deploy' I get the following ... Meteor JS 'mup deploy' command - Preparing Bundle: FAILED....
Read more >Documentation - Meteor Up
This is useful when the previous deploy failed from a network error or from a problem in the config. ... Meteor version, Docker...
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
I was getting a similar error: “Cannot find module ‘graphql/language/printer’” I needed to install
meteor npm install --save graphql
@zodern removing the meteorhacks:kadira-profiler package made it works now. But now another problem happens at Verifying Deployment. I set the
deployCheckWaitTime
to 180 but this error still exists.the Meteor version as shown in
.meteor/release
is METEOR@1.4.1.1 I also tried moving the mup.js and settings.json to a location outside of the app’s folder but still not working.