aws-sdk-mock
aws-sdk-mock copied to clipboard
Unsupported engine
I'm trying to install the package, but getting the following error
❯ npm install aws-sdk-mock --save-dev
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=4.0.0', npm: '~1.0.20' },
npm WARN EBADENGINE current: { node: 'v14.17.0', npm: '7.19.0' }
npm WARN EBADENGINE }
Could you please explain me how to fix it? 🤔
@dobeerman that's very strange. Thanks for opening this issue to capture the challenge you are facing.
json.sortify is not in our package-lock.json ...
is it possible that you have another dependency in your project that is causing the issue? 💭
Also checked it, but i cannot install only this package :) Any other cause no issue.
Weird...
In my case only epsagon uses that package. Could it be related?
"node_modules/epsagon": {
"version": "1.111.3",
"resolved": "https://registry.npmjs.org/epsagon/-/epsagon-1.111.3.tgz",
"integrity": "sha512-DD8mo2mXecMSRNJzTJOnSrMqYupheT3xk2bzBa2odIZEMs+lDkUHHv6kQJJigDuKlcRtL+tKt3Dv9lgZVGHM+Q==",
"dependencies": {
"axios": "^0.21.1",
"google-protobuf": "^3.5.0",
"json-stringify-safe": "^5.0.1",
"json.sortify": "^2.2.2",
"md5": "^2.2.1",
"require-in-the-middle": "^5.0.3",
"shimmer": "^1.2.1",
"uuid-parse": "^1.1.0",
"uuid4": "^1.0.0"
}
},
Yeah, it could be a conflict. 🤷♂️ We are using this package in a few projects without issues. I'd recommend trying it in a fresh project to isolate the problem. 💭