在Windows 10 403上错误安装yo禁止:term-size@^1.2.0

时间:2019-02-27 16:18:40

标签: yeoman

在具有以下node / npm版本的Windows 10计算机上安装yo时出现问题。特定软件包“ 403 Forbidden:term-size@^1.2.0”的错误,由于上述错误,其他软件包被提取,最后未安装。请协助解决可能的问题。在Github或stackoverflow中都找不到类似的问题。

尝试使用最新的yo(npm install -g yo)和以前的版本(npm install -g yo@2.0.3),都给出上述错误。谢谢!

节点-v v10.15.1

npm -v 6.4.1

错误:

 npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\strip-ansi-d536cc04\package.json'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\strip-ansi-d536cc04\index.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\strip-ansi-d536cc04\license'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\chalk-c0a141d3\types\index.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\strip-ansi-d536cc04\readme.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\tmp-e184c637\test\symlinkme\file.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\rxjs-0171b4de\src\webSocket\BUILD.bazel'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\rxjs-0171b4de\src\webSocket\index.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\rayamoh\AppData\Roaming\npm\node_modules\.staging\rxjs-0171b4de\src\webSocket\package.json'
npm ERR! code E403
npm ERR! 403 Forbidden: term-size@^1.2.0

0 个答案:

没有答案