简体   繁体   English

多个 npm 审计修复后无法运行 Vue 应用程序

[英]Cannot run Vue app after multiple npm audit fix

I wanted to solve a problem vulnerabilities problem and now my app does not run.我想解决问题漏洞问题,现在我的应用程序无法运行。

I get this error message:我收到此错误消息:

This dependency was not found:未找到此依赖项:

  • firebase in./src/main.js, ./node_modules/cache-loader/dist/cjs.js??ref--12-0../node_modules/babel-loader/lib.?/node_modules/cache-loader/dist/cjs?js.?ref--0-0?./node_modules/vue-loader-v16/dist.?ref--0-1!./src/components/Navigation.vue?vue&type=script&lang=js and 1 other firebase in./src/main.js, ./node_modules/cache-loader/dist/cjs.js??ref--12-0../node_modules/babel-loader/lib.?/node_modules/cache-loader/ dist/cjs?js.?ref--0-0?./node_modules/vue-loader-v16/dist.?ref--0-1!./src/components/Navigation.vue?vue&type=script&lang=js 和1 其他

To install it, you can run: npm install --save firebase Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'要安装它,您可以运行: npm install --save firebase 来自 chokidar (C:) 的错误:错误:EBUSY:资源繁忙或锁定,lstat 'C:\DumpStack.log.tmp'

Here is my package.json:这是我的 package.json:

{
  "name": "poker-app",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "chart.js": "^3.6.2",
    "core-js": "^3.6.5",
    "firebase": "^9.6.1",
    "generatorics": "^1.1.0",
    "itertools": "^1.7.1",
    "vue": "^3.0.0",
    "vue-chartkick": "^0.6.1",
    "vue-echarts": "^6.0.0",
    "vue-router": "^4.0.11"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-plugin-router": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^7.0.0"
  }
}

Anyone know what is it?有谁知道它是什么?

Try deleting the node_modules folder then running:尝试删除 node_modules 文件夹然后运行:

npm cache clean --force  
npm install

Take a look on the warnings during the install as they can give you some clue about version incompatibility between packages查看安装过程中的警告,因为它们可以为您提供有关软件包之间版本不兼容的一些线索

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在显示“发现 1 个低严重性漏洞运行 `npm audit fix` 来修复它们,或 `npm audit` 以获取详细信息”后反应应用程序创建将停止 - react app creation going to stop after showing "found 1 low severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details" npm 审计修复 --force 和 - npm 审计修复之间的区别? - Difference between npm audit fix --force and - npm audit fix? 为什么我的 vue 应用程序在运行 `npm run serve` 后没有启动? - Why doesn't my vue app start after running `npm run serve`? Vue 应用程序将无法构建 - npm 审计报告显示严重性:高/glob-parent 中的正则表达式拒绝服务 - Vue app will not build - npm audit report says Severity: high / Regular expression denial of service in glob-parent 如何使用 loadVirtual 和 ENOLOCK 修复 npm 审计错误? - how to fix npm audit error with loadVirtual and ENOLOCK? ENOLOCK npm 错误! 运行 npm 审计修复时出错 - ENOLOCK npm ERR! Error while running npm audit fix “npm run build”后如何修复空白网页 - How to fix blank web page after 'npm run build' Vue js npm 在 bundle.css 中运行构建错误 - Vue js npm run build error in bundle.css Conflict: Multiple chunks emit assets to the same filename bundle.css (chunks app and chunk-f33d301e) 使用 npm 安装 live-server 包时出错。 `npm audit` 无助于解决问题 - Getting error while installing live-server package using npm. `npm audit` is not helping to fix the problem npx create-nuxt-app 后跟 npm 运行开发抛出 Vue 包版本不匹配 - npx create-nuxt-app followed by npm run dev throws Vue packages version mismatch
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM