[Bug 1709824] Re: Cannot npm install with indicated registry in ubuntu with nodejs v6.9.5
Dat Banh
1709824 at bugs.launchpad.net
Thu Aug 10 09:00:18 UTC 2017
** Tags added: npm
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1709824
Title:
Cannot npm install with indicated registry in ubuntu with nodejs
v6.9.5
Status in apport package in Ubuntu:
New
Bug description:
Hi guys,
Please help me to check
When I indicate a registry during npm install, it failed. However, it successful if I indicate default registry
------------------
# npm install grunt-cli -registry="http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.milestones.npm"
npm ERR! Linux 4.4.74-92.29-default
npm ERR! argv "/opt/node-v6.9.5-linux-x64/bin/node" "/usr/bin/npm" "install" "grunt-cli" "-registry=http://nexus.wdf.sap.corp:8081/nexus/content/groups/build.milestones.npm"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! Cannot convert undefined or null to object
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! /opt/npm-debug.log
----------------------
npm install grunt -registry="http://registry.npmjs.org"
opt
`-- grunt at 1.0.1
+-- coffee-script at 1.10.0
+-- dateformat at 1.0.12
| +-- get-stdin at 4.0.1
| `-- meow at 3.7.0
| +-- camelcase-keys at 2.1.0
| | `-- camelcase at 2.1.1
| +-- decamelize at 1.2.0
| +-- loud-rejection at 1.6.0
| | +-- currently-unhandled at 0.4.1
----------------------
Ubutun info
# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"
Best regards,
Dat
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1709824/+subscriptions
More information about the foundations-bugs
mailing list