0
我想安装nativescript,我是新手,所以我会很感激任何帮助。 首先,我正确安装了它,但在此之后,我在nativescript网站上看到了一页用于高级安装的,所以我用它打得四处..现在我不能运行命令TNS和无法卸载,不能老是安装.. 这里是错误,我得到:安装nativescript时出现npm错误
记:我也更新了我的nodejs到最新版本,但c ouldnt更新NPM,当我试图运行:NPM安装NPM -g我得到了这样的错误在这里:
我也尝试重新启动电脑,但didn`t帮助。
我卸载节点,NPM然后重新安装它们..现在我得到这个错误:
ERR! network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
ERR! network This is most likely not a problem with npm itself
ERR! network and is related to network connectivity.
ERR! network In most cases you are behind a proxy or have bad network settings.
ERR! network
ERR! network If you are behind a proxy, please make sure that the
ERR! network 'proxy' config is set properly. See: 'npm help config'
ERR! Please include the following file with any support request:
ERR! C:\Users\Home\npm-debug.log
你试图卸载第一个屏幕lnativescript ...在你运行的最后一个屏幕错误的命令 - 你应该运行:npm install -g nativescript(而不是npm install npm) –