系统信息
RELEASE=19
CODENAME=tara
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 19 Tara"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_tara_cinnamon_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_tara_cinnamon.php
USER_GUIDE_URL=help:linuxmint
GRUB_TITLE=Linux Mint 19 Cinnamon
$which node
/usr/bin/node
$node -v
v8.10.0
$which npm
/usr/bin/npm
$npm -v
3.5.2
$cat ~/.npmrc
registry="http://registry.npmjs.org/"
proxy=http://usr:pwd@172.16.0.11:3128
strict-ssl=false
https-proxy=https://usr:pwd@172.16.0.11:3128
$sudo npm install -g ember-cli
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! fetch failed http://registry.npmjs.org/broccoli/-/broccoli-2.0.1.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/broccoli-debug/-/broccoli-debug-0.6.5.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/broccoli-funnel-reducer/-/broccoli-funnel-reducer-1.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/broccoli-config-replace/-/broccoli-config-replace-1.1.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/broccoli-funnel/-/broccoli-funnel-2.0.1.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/configstore/-/configstore-4.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/dag-map/-/dag-map-2.0.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
npm ERR! fetch failed http://registry.npmjs.org/console-ui/-/console-ui-2.2.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 403
我已经使用apt install同时安装了npm和nodejs 我已经尝试了一切,但我并没有抓挠她。 我不断收到相同的错误。 我可以确定自己的网络设置,apt也可以与代理设置一起正常工作