Skip to content

Could not parse version constraint &&: Invalid version string "&&" #247

@onman

Description

@onman

My project tries to install the dependency npm-asset/node-gyp. The error mentioned in the title appears, so nothing is installed at all.
This error is caused by the node-gyp version 0.9.6, which has the dependency
"request": ">= 2 && <= 2.14"

Although the current version is 3.* this old version prevents it from being installed.

You can reproduce this error with the following command line:
composer global require npm-asset/node-gyp

Seems like the && style is not supported by this plugin? Can/will this be fixed?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions