我正在尝试将 npm 包依赖项安装到我的 angular 应用程序中,但出现此错误。任何帮助解决这个问题?
npm ERR! code E404
npm ERR! 404 Not Found: error-ex@^1.2.0
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dilushi\AppData\Roaming\npm-cache\_logs\2020-02-12T13_07_17_602Z-debug.log
Run Code Online (Sandbox Code Playgroud)
我将package.json在这里附上我的文件。
{
"name": "app-pfe",
"version": "0.0.1",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^6.0.2",
"@angular/common": "^6.0.2",
"@angular/compiler": "^6.0.2",
"@angular/core": "^6.0.2",
"@angular/forms": "^6.0.2",
"@angular/http": "^6.0.2",
"@angular/platform-browser": "^6.0.2",
"@angular/platform-browser-dynamic": "^6.0.2",
"@angular/router": "^6.0.2", …Run Code Online (Sandbox Code Playgroud)