нпм ERR! получить код ошибки 502

heroku ember.js npm codeship

850 просмотра

1 ответ

165 Репутация автора

Я использую Codeship для развертывания своего проекта Ember в Heroku. Эти развертывания раньше работали без проблем, но с тех пор, как вчера они потерпели неудачу с «npm ERR! Fetch fail ...» при установке зависимостей npm на шаге (6). С тех пор я ничего не менял, и сброс кеша зависимостей не помог.

Кто-нибудь знаком с этой проблемой?

Я использую:

Ember-Cli 3.3.12

npm v3.8.6

узел v5.11.1

- ...
- (step 1) ember test
- (step 2) Exporting Heroku API Key
- (step 3) check_access_to_heroku_app my_project
- (step 4) Preparing repository for Heroku deployment
- (step 5) git remote add heroku_my_project git@heroku.com:my_project.git
- (step 6) git push heroku_tnt-ui $CI_COMMIT_ID:refs/heads/master

---- Log of Step 6 -----

Counting objects: 69, done.
Delta compression using up to 32 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (36/36), 6.48 KiB | 0 bytes/s, done.
Total 36 (delta 23), reused 31 (delta 19)
remote: Compressing source files... done.

remote: Building source:

remote: 
remote: -----> Fetching set buildpack https://github.com/tonycoco/heroku-buildpack-ember-cli.git... done

remote: -----> Ember CLI app detected

remote: -----> Exporting config vars to environment

remote: -----> Building environment: production

remote: 
remote:        PRO TIP: Avoid using semver ranges starting with '>' in engines.node

remote:        See https://devcenter.heroku.com/articles/nodejs-support

remote: 
remote: -----> Requested node range:  >= 0.10.0

remote: -----> Resolved node version: 5.11.1

remote: -----> Downloading and installing node

remote: -----> Using default npm version: 3.8.6

remote: -----> Downloading and installing nginx

remote: -----> Adding boot script

remote: -----> Copying configs

remote: -----> Forcing rebuild of all node_modules. Pruning all node_modules.

remote: -----> Forcing re-installation of all bower_components. Pruning all bower_components.

remote: -----> Creating node_modules cache directory

remote: -----> Creating bower_components cache directory

remote: -----> Pruning cached dependencies not specified in package.json

remote: -----> Installing dependencies

remote:        npm ERR! fetch failed https://registry.npmjs.org/ember-cli-sri/-/ember-cli-sri-2.1.0.tgz

remote:        npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502

remote:        npm ERR! fetch failed https://registry.npmjs.org/ember-simple-auth/-/ember-simple-auth-1.1.0.tgz

remote:        npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502

remote:        npm ERR! fetch failed https://registry.npmjs.org/ember-cli-sri/-/ember-cli-sri-2.1.0.tgz

remote:        npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502

remote:        npm ERR! fetch failed https://registry.npmjs.org/ember-simple-auth/-/ember-simple-auth-1.1.0.tgz

remote:        npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502

remote:        npm ERR! fetch failed https://registry.npmjs.org/ember-cli-sri/-/ember-cli-sri-2.1.0.tgz

remote:        npm ERR! fetch failed https://registry.npmjs.org/ember-simple-auth/-/ember-simple-auth-1.1.0.tgz

remote:        npm ERR! Linux 3.13.0-91-generic

remote:        npm ERR! argv "/tmp/build_aaa68782965ff56ab3bc/vendor/node/bin/node" "/tmp/build_aaa6878296554310746bc/vendor/node/bin/npm" "install" "--quiet" "--no-optional" "--userconfig" "/tmp/build_aaa6875446ff56ab3bc/.npmrc"

remote:        npm ERR! node v5.11.1

remote:        npm ERR! npm  v3.8.6

remote:        

remote:        npm ERR! fetch failed with status code 502

remote:        npm ERR! 

remote:        npm ERR! If you need help, you may report this error at:

remote:        npm ERR!     <https://github.com/npm/npm/issues>

remote:        

remote:        npm ERR! Please include the following file with any support request:

remote:        npm ERR!     /tmp/build_aaa687829655456ab3bc/npm-debug.log

remote: 0 info it worked if it ends with ok

remote: 1 verbose cli [ '/tmp/build_aaa68782965546ab3bc/vendor/node/bin/node',

remote: 1 verbose cli   '/tmp/build_aaa687846ff56ab3bc/vendor/node/bin/npm',

remote: 1 verbose cli   'install',

remote: 1 verbose cli   '--quiet',

remote: 1 verbose cli   '--no-optional',

remote: 1 verbose cli   '--userconfig',

remote: 1 verbose cli   '/tmp/build_aaa68782b46ff56ab3bc/.npmrc' ]

remote: 2 info using npm@3.8.6

remote: 3 info using node@v5.11.1

remote: 4 verbose config Skipping project config: /tmp/build_aaa6878296f56ab3bc/.npmrc. (matches userconfig)

remote: 5 silly loadCurrentTree Starting

remote: 6 silly install loadCurrentTree

remote: 7 silly install readLocalPackageData

remote: 8 silly install normalizeTree

...
Автор: phoxley Источник Размещён: 06.07.2016 07:42

Ответы (1)


0 плюса

165 Репутация автора

Решение

Эта ошибка была на стороне сервера npm и была исправлена ​​днем ​​позже.

Автор: phoxley Размещён: 28.07.2016 06:25
Вопросы из категории :
32x32