Cannot npm install with indicated registry in ubuntu with nodejs v6.9.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned |
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://
npm ERR! Linux 4.4.74-
npm ERR! argv "/opt/node-
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:/
npm ERR! Please include the following file with any support request:
npm ERR! /opt/npm-debug.log
-------
npm install grunt -registry="http://
opt
`-- grunt@1.0.1
+-- coffee-
+-- dateformat@1.0.12
| +-- get-stdin@4.0.1
| `-- meow@3.7.0
| +-- camelcase-
| | `-- camelcase@2.1.1
| +-- decamelize@1.2.0
| +-- loud-rejection@
| | +-- currently-
-------
Ubutun info
# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
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