小编Shr*_*wal的帖子

NPM 警告:“引擎不受支持”

npm install -D tailwind css postcss autoprefixer vite我在 VS-Code 中输入了命令。

我的环境是:

  • NPM版本:8.1.2
  • Node.js 版本:16.13.1

这导致了以下警告:

npm WARN idealTree Removing dependencies.vite in favor of devDependencies.vite
npm WARN EBADENGINE Unsupported engine {    
npm WARN EBADENGINE   package: 'amqplib@0.5.2',    
npm WARN EBADENGINE   required: { node: '>=0.8 <=9' },
npm WARN EBADENGINE   current: { node: 'v16.13.1', npm: '8.1.2' }
npm WARN EBADENGINE }
Run Code Online (Sandbox Code Playgroud)

我的 package.json 是:

npm WARN idealTree Removing dependencies.vite in favor of devDependencies.vite
npm WARN EBADENGINE Unsupported engine {    
npm …
Run Code Online (Sandbox Code Playgroud)

node.js npm vite

17
推荐指数
2
解决办法
10万
查看次数

标签 统计

node.js ×1

npm ×1

vite ×1