Skip to content

Instantly share code, notes, and snippets.

@panki
Created August 5, 2016 07:33
Show Gist options
  • Save panki/0529a81f8ae4e765153e5021342bf330 to your computer and use it in GitHub Desktop.
Save panki/0529a81f8ae4e765153e5021342bf330 to your computer and use it in GitHub Desktop.
content-pipeline git:master ❯ make run ⏎ ✖ ✹ ✭
#make npm-auth
docker-compose up
Building server
Step 1 : FROM node:6.3
---> 0d9089853221
Step 2 : MAINTAINER Alexander Panko
---> Using cache
---> d52c3fb7b2c0
Step 3 : RUN mkdir /src
---> Using cache
---> f1d37d6e7240
Step 4 : WORKDIR /src
---> Using cache
---> dba652b8519b
Step 5 : ADD package.json /src/package.json
---> Using cache
---> 33f8d3704dd2
Step 6 : ADD .babelrc /src/.babelrc
---> Using cache
---> 113101772811
Step 7 : ADD .npmrc ~/.npmrc
---> 0ea358a7f3bd
Removing intermediate container 59ba26cf73e5
Step 8 : RUN npm set registry http://npm.klab-berlin.de
---> Running in f1e0e846df16
npm info it worked if it ends with ok
npm info using npm@3.10.3
npm info using node@v6.3.1
npm info config set "registry" "http://npm.klab-berlin.de"
npm info ok
---> e2e135630d0a
Removing intermediate container f1e0e846df16
Step 9 : RUN npm install
---> Running in 97d0a530f720
npm info it worked if it ends with ok
npm info using npm@3.10.3
npm info using node@v6.3.1
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/config
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/good
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/good-console
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/good-squeeze
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/handlebars
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/hapi
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/hapi-i18next
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/i18next
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/inert
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/joi
npm info attempt registry request try #1 at 7:32:31 AM
npm http request GET http://npm.klab-berlin.de/jsonwebtoken
npm http 403 http://npm.klab-berlin.de/config
npm http 403 http://npm.klab-berlin.de/good-squeeze
npm http 403 http://npm.klab-berlin.de/good-console
npm http 403 http://npm.klab-berlin.de/handlebars
npm http 403 http://npm.klab-berlin.de/good
npm http 403 http://npm.klab-berlin.de/hapi-i18next
npm http 403 http://npm.klab-berlin.de/hapi
npm http 403 http://npm.klab-berlin.de/i18next
npm http 403 http://npm.klab-berlin.de/inert
npm http 403 http://npm.klab-berlin.de/jsonwebtoken
npm http 403 http://npm.klab-berlin.de/joi
npm ERR! Linux 4.4.15-moby
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code E403
npm ERR! unregistered users are not allowed to access package config : config
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /src/npm-debug.log
ERROR: Service 'server' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1
make: *** [run] Error 1
@vijayabose
Copy link

I think your container is not able to connect with Internet or you VPN tunnel is not connecting to out side network from you container while running "npm install". Unless you specify an internal repository for npm. "npm install" will pull from internet for dependency files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment