首先,我们需要查看eslint-plugin-vue的package.json文件,了解它对Node.js版本的具体要求。通常,这个信息会在engines字段中指定。 假设eslint-plugin-vue@8.7.1的package.json中engines字段指定了需要的Node.js版本范围,例如"node": ">=14.0.0 <17.0.0"。 检查当前Node.js的版本: 在命令行中运行node ...
The dependencies are just wrong, and now NPM 8 is enforcing them. What actually happened? npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vue/eslint-config-standard@6.1.0 npm ERR! Found: eslint-plugin-vue@8.7.1 npm ERR! node_modules/...
Official ESLint plugin for Vue.js. Contribute to vuejs/eslint-plugin-vue development by creating an account on GitHub.
原因:在新版本的npm中,默认情况下,npm install遇到冲突的peerDependencies时将失败。 2、解决 使用–force或–legacy-peer-deps可解决这种情况。 –force 会无视冲突,并强制获取远端npm库资源,当有资源冲突时覆盖掉原先的版本。 –legacy-peer-deps:安装时忽略所有peerDependencies,忽视依赖冲突,采用npm版本4到版本6的...
8 changes: 0 additions & 8 deletions 8 README.md Original file line numberDiff line numberDiff line change @@ -11,14 +11,6 @@ See https://vuejs.github.io/eslint-plugin-vue/ > :exclamation: Attention - this is documentation for version `5.x` :exclamation: > > This branch ...