Open Yuri2 opened 2 years ago
I'm using NodeJS v14.5.4 and I don't have the error.
Could you share package.json
file to reproduce that error?
@peculiar/webcrypto
uses engine
option. It uses NodeJS Crypto API which was implemented in NodeJS v10
"engines": {
"node": ">=10.12.0"
},
As I can see from your log message you've got a problem with eslint-scope
and javascript-obfuscator
modules
node14.5安装失败 错误提示 npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'eslint-scope@6.0.0', npm WARN EBADENGINE required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' }, npm WARN EBADENGINE current: { node: 'v14.15.0', npm: '7.24.1' } npm WARN EBADENGINE } npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'javascript-obfuscator@2.19.0', npm WARN EBADENGINE required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' }, npm WARN EBADENGINE current: { node: 'v14.15.0', npm: '7.24.1' } npm WARN EBADENGINE }