PeculiarVentures / webcrypto

A WebCrypto Polyfill for NodeJS
MIT License
184 stars 22 forks source link

node14.5安装失败 #33

Open Yuri2 opened 2 years ago

Yuri2 commented 2 years ago

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 }

microshine commented 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