angularjs npm i bootstrap命令不适用于install bootstrap

mfpqipee  于 2023-10-15  发布在  Angular
关注(0)|答案(1)|浏览(100)

npm i bootstrap命令不适用于安装bootstrap。没有向packages.json文件和node_modules添加任何内容。`
package.json依赖项:

"dependencies": {
    "@angular/animations": "^16.2.0",
    "@angular/common": "^16.2.0",
    "@angular/compiler": "^16.2.0",
    "@angular/core": "^16.2.0",
    "@angular/forms": "^16.2.0",
    "@angular/platform-browser": "^16.2.0",
    "@angular/platform-browser-dynamic": "^16.2.0",
    "@angular/router": "^16.2.0",
    "rxjs": "~7.8.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.13.0"
  },

`

1cosmwyk

1cosmwyk1#

什么错误?

您可以尝试:-

1. Delete the node_modules folder
 2. npm cache clean --force
 3. npm i
 4. npm i bootstrap

相关问题