Closed ihola777 closed 2 months ago
运行命令:
npx rimraf pnpm-lock.yaml yarn install
报错
npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'rimraf@6.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'glob@11.0.0', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'jackspeak@4.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'minimatch@10.0.1', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'path-scurry@2.0.0', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE } npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'lru-cache@11.0.0', npm warn EBADENGINE required: { node: '20 || >=22' }, npm warn EBADENGINE current: { node: 'v18.20.4', npm: '10.7.0' } npm warn EBADENGINE }
只安装了nodejs v18.20.4 运行
复现
no more needed
yarn
请使用最新版本的 vitesse-uni-app 尝试。注意到出现了 rimraf@6.0.1,可能是旧版本依赖管理有问题。
描述问题
运行命令:
报错
复现
只安装了nodejs v18.20.4 运行
复现
系统信息
no more needed
使用的包管理器
yarn
核对