Skip to content

Alter package.json engine allowances for NPM #4869

@cwadrupldijjit

Description

@cwadrupldijjit

Description:

  • A-Frame Version: 1.2.0
  • Platform / Device: Mac OS Big Sur, version 11.4; All browser platforms
  • Reproducible Code Snippet or URL:
    $ npm install aframe@latest

I've encountered the error of EBADENGINE several times whenever installing with the latest versions of Node and NPM. It's more an annoyance, as I've had no problems using either of those versions with AFrame (especially since it's a build-time situation). To the best of my knowledge, the problem lies in the package.json under the engines object:

"node": ">=4.6.0",
"npm": "^2.15.9"

While this won't cause any problems with my version of Node (16.2.0), it will be causing issues for any recent versions of NPM.

Is there any reason why it's locked to that specific version of NPM? Could we change it to be a >= just like in the node field?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions