We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
corepack npm install --save react@npm:preact jspm
jspm "install" "--provider" "nodemodules" "react"
Error: file:///tmp/qqq/node_modules/preact does not exist, try installing "preact" with npm first via "npm install preact".
https://github.com/jspm/generator/blob/11475a5f47e18a72b38f1860c110dd7fe4d12ef4/src/install/package.ts#L219C13-L219C13
The new jspm do not download anything to local filesystem, version (or url) of a package doesn't seem to make sense.
I also see some code (many come from 2 years ago) is reading "name" field in package.json, I think they are "happens to be ok".
The text was updated successfully, but these errors were encountered:
This is because JSPM generator does not respect the "react" alias when doing an install from the nodemodules provider.
If you instead fo jspm install --provider nodemodules react=preact it will work correctly in this case I believe.
jspm install --provider nodemodules react=preact
Sorry, something went wrong.
No branches or pull requests
reproduce steps:
corepack npm install --save react@npm:preact jspm
jspm "install" "--provider" "nodemodules" "react"
result:
source:
https://github.com/jspm/generator/blob/11475a5f47e18a72b38f1860c110dd7fe4d12ef4/src/install/package.ts#L219C13-L219C13
detail:
The new jspm do not download anything to local filesystem, version (or url) of a package doesn't seem to make sense.
I also see some code (many come from 2 years ago) is reading "name" field in package.json, I think they are "happens to be ok".
The text was updated successfully, but these errors were encountered: