Prerequisites
Describe the bug
When I tried to install @php-wasm/cli, it threw an error that its dependency @php-wasm/node version 3.0.13 is missing.
$ npm i @php-wasm/cli
npm error code ETARGET
npm error notarget No matching version found for @php-wasm/node@3.0.13.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
I confirmed it in the list of published versions on NPM, the latest is 3.0.12.
While @php-wasm/cli and other modules are on 3.0.13. Its published package.json has these related dependencies.
"@php-wasm/universal": "3.0.13",
"@php-wasm/node": "3.0.13",
"@php-wasm/xdebug-bridge": "3.0.13"
Expected behavior
Able to install @php-wasm/cli with all its dependencies including the same version of @php-wasm/node
Actual behavior
Unable to install @php-wasm/cli due to missing version 3.0.13 of @php-wasm/node
Steps to reproduce
- Create a temporary folder:
mkdir example && cd example
- Initialize empty project:
npm init -y
- Install @php-wasm/cli:
npm i @php-wasm/cli
- See error: No matching version found for @php-wasm/node@3.0.13
Isolating the problem
Prerequisites
Describe the bug
When I tried to install
@php-wasm/cli, it threw an error that its dependency@php-wasm/nodeversion 3.0.13 is missing.I confirmed it in the list of published versions on NPM, the latest is 3.0.12.
While @php-wasm/cli and other modules are on 3.0.13. Its published
package.jsonhas these related dependencies.Expected behavior
Able to install
@php-wasm/cliwith all its dependencies including the same version of@php-wasm/nodeActual behavior
Unable to install
@php-wasm/clidue to missing version 3.0.13 of@php-wasm/nodeSteps to reproduce
mkdir example && cd examplenpm init -ynpm i @php-wasm/cliIsolating the problem