arunoda / meteor-up-legacy

Production Quality Meteor Deployments
MIT License
2.26k stars 395 forks source link

[mupx] Deployment Failed: npm ERR! fetch failed https://registry.npmjs.org/fibers/-/fibers-1.0.5.tgz #1081

Open derek-fong opened 8 years ago

derek-fong commented 8 years ago

mupx setup completed successfully. However, when I try to run mupx deploy

$ mupx deploy

Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

Meteor app path    : /bar/foo-app
Using buildOptions : {}

Started TaskList: Deploy app 'foo-app' (linux)

[foo-app] - Uploading bundle
[foo-app] - Uploading bundle: SUCCESS
[foo-app] - Sending environment variables
[foo-app] - Sending environment variables: SUCCESS
[foo-app] - Initializing start script
[foo-app] - Initializing start script: SUCCESS
[foo-app] - Invoking deployment process
[foo-app] - Invoking deployment process: SUCCESS
[foo-app] - Verifying deployment
[foo-app] x Verifying deployment: FAILED

        -----------------------------------STDERR-----------------------------------
        s some small
        npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
        npm WARN deprecated semver behavior.
        npm WARN package.json meteor-dev-bundle@0.0.0 No description
        npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
        npm WARN package.json meteor-dev-bundle@0.0.0 No README data
        npm ERR! fetch failed https://registry.npmjs.org/fibers/-/fibers-1.0.5.tgz
        npm ERR! fetch failed https://registry.npmjs.org/promise/-/promise-7.0.4.tgz
        npm ERR! fetch failed https://registry.npmjs.org/meteor-promise/-/meteor-promise-0.5.0.tgz
        npm ERR! fetch failed https://registry.npmjs.org/semver/-/semver-4.1.0.tgz
        npm ERR! fetch failed https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz
        npm ERR! fetch failed https://github.com/meteor/node-source-map-support/tarball/1912478769d76e5df4c365e147f25896aee6375e
        npm ERR! fetch failed https://github.com/meteor/node-eachline/tarball/ff89722ff94e6b6a08652bf5f44c8fffea8a21da

        => Redeploying previous version of the app

        -----------------------------------STDOUT-----------------------------------

        To see more logs type 'mup logs --tail=50'

        ----------------------------------------------------------------------------

Tried to increase "deployCheckWaitTime": 240 which unfortunately did not fix the issue.

Any ideas?

sscaff1 commented 8 years ago

Same problem. Do you have a MONGO_OPLOG_URL in your mup.json? That actually started causing the problem for me. If I don't have that environmental variable set it work...Doesn't really solve the issue though.

Similar to #841

I solved my problem: mupx stop mupx setup mupx deploy

and now it works. No idea why.

derek-fong commented 8 years ago

@sscaff1 No I don't have MONGO_OPLOG_URL in mup.json...I have also tried your recommendation with no luck... :( Thanks tho

sscaff1 commented 8 years ago

@derek-fong what version of node are you using? Make sure it's not 6+. I installed nvm in order to use node 4.4.5 when I deploy.