小编Dil*_*ana的帖子

npm 错误!404 未找到 - 获取 https://registry.npmjs.org/error-ex

我正在尝试将 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)

node.js npm node-modules angular

19
推荐指数
2
解决办法
6万
查看次数

标签 统计

angular ×1

node-modules ×1

node.js ×1

npm ×1