Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported engine #243

Open
dobeerman opened this issue Jul 1, 2021 · 3 comments
Open

Unsupported engine #243

dobeerman opened this issue Jul 1, 2021 · 3 comments
Labels
dependency question A question needs to be answered before progress can be made on this issue starter A beginner-friendly issue that is a good starting point for a new person technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@dobeerman
Copy link

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? 🤔

@nelsonic
Copy link
Member

nelsonic commented Jul 1, 2021

@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? 💭

@nelsonic nelsonic added dependency question A question needs to be answered before progress can be made on this issue starter A beginner-friendly issue that is a good starting point for a new person technical A technical issue that requires understanding of the code, infrastructure or dependencies labels Jul 1, 2021
@dobeerman
Copy link
Author

dobeerman commented Jul 2, 2021

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"
      }
    },

@nelsonic
Copy link
Member

nelsonic commented Jul 2, 2021

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. 💭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency question A question needs to be answered before progress can be made on this issue starter A beginner-friendly issue that is a good starting point for a new person technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

2 participants