particle-iot / particle-api-js

JS Library for the Particle API
Apache License 2.0
123 stars 53 forks source link

Unsupported engine warning, even when node + npm versions meet requirement #163

Open chuank opened 1 year ago

chuank commented 1 year ago

Installing this via npm returns the following Unsupported engine warning:

image

It also appears that the package needs to have some of its dependencies updated (as per screenshot, for formidable, superagent and core-js.

chuank commented 1 year ago

Digging a bit deeper, it appears that the superagent dependency can be trivially upgraded to ^7.0.2. This will also resolve the formidable dependency in superagent.

The more challenging dependency is babel-runtime@6.9.2, which still relies on core-js@2.6.12. There are quite a few Babel 6 devDependencies being used which I presume will take a while to upgrade to Babel 7?

Edit: also, if the npm engine version is updated to support 9.x, that will be great.

equilet commented 2 months ago

I also get this

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'particle-api-js@11.0.0',
npm WARN EBADENGINE   required: { node: '>=12.x', npm: '8.x' },
npm WARN EBADENGINE   current: { node: 'v18.17.1', npm: '10.1.0' }
npm WARN EBADENGINE }