Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 创建新的angular项目时-包安装失败_Node.js_Angular_Package - Fatal编程技术网

Node.js 创建新的angular项目时-包安装失败

Node.js 创建新的angular项目时-包安装失败,node.js,angular,package,Node.js,Angular,Package,使用angular cli创建新项目时出错。它显示 3492 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/error-ex 3492 verbose stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-registry-fetch\check-response.js:104:15 3492 verbose

使用angular cli创建新项目时出错。它显示

3492 verbose stack Error: 404 Not Found - GET https://registry.npmjs.org/error-ex
3492 verbose stack     at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-registry-fetch\check-response.js:104:15
3492 verbose stack     at runMicrotasks (<anonymous>)
3492 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:93:5)
3493 verbose statusCode 404
3494 verbose pkgid error-ex@^1.3.1
3495 verbose cwd C:\Users\amemni\Angular\test\testt
3496 verbose Windows_NT 10.0.17134
3497 verbose argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--quiet"
3498 verbose node v12.13.0
3499 verbose npm  v6.12.0
3500 error code E404
3501 error 404 Not Found - GET https://registry.npmjs.org/error-ex
3502 error 404
3503 error 404 'error-ex@^1.3.1' is not in the npm registry.
3504 error 404 You should bug the author to publish it (or use the name yourself!)
3505 error 404 It was specified as a dependency of 'parse-json'
3506 error 404 Note that you can also install from a
3507 error 404 tarball, folder, http url, or git url.
3508 verbose exit [ 1, true ] 
3492详细堆栈错误:找不到404-获取https://registry.npmjs.org/error-ex
3492位于C:\Program Files(x86)\nodejs\node\u modules\npm\node\u modules\npm registry fetch\check response的详细堆栈。js:104:15
3492运行微任务时的详细堆栈(
他们都不工作

Angular CLI:9.0.1 节点:12.13.0 操作系统:win32 ia32
Windows 10将注册表设置为此,然后全局安装依赖项。然后重新创建新应用

npm配置集注册表
npm安装-g错误-ex@1.3.1

正在下载我的新应用程序

来源:

参见本期


当前缺少NPM包存储库(404)-因此,依赖于该程序包的所有npm都已损坏。该程序包正在该线程中被跟踪,对于我们这些受影响的人,我们也将更新该线程。

npm注册表中出现一些错误。您可以在此处检查状态:,应该很快解决。不要安装其他程序包或使用其他注册表来修补该问题,否则会造成混乱事态发展:)