Skip to content
New issue

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

npm error code EUNSUPPORTEDPROTOCOL #17456

Closed
7 tasks done
esaaprillia opened this issue Jun 13, 2024 · 5 comments
Closed
7 tasks done

npm error code EUNSUPPORTEDPROTOCOL #17456

esaaprillia opened this issue Jun 13, 2024 · 5 comments
Labels
cannot reproduce The bug cannot be reproduced pending triage

Comments

@esaaprillia
Copy link

Describe the bug

node-v20.14.0

npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "link:": link:./src/types

Reproduction

https://registry.npmjs.org/vite/-/vite-5.2.13.tgz

Steps to reproduce

npm install --prefer-offline --no-audit --global-style --install-strategy=shallow --no-save --omit=dev --no-package-lock --ignore-scripts

System Info

none

Used Package Manager

npm

Logs

npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "link:": link:./src/types

Validations

@bluwy
Copy link
Member

bluwy commented Jun 13, 2024

I created a Vite project with npm create vite and ran that command, but I don't get the error? The link: is used in devDependencies only and shouldn't be parsed by npm.

@bluwy bluwy added the cannot reproduce The bug cannot be reproduced label Jun 13, 2024
@esaaprillia
Copy link
Author

I created a Vite project with npm create vite and ran that command, but I don't get the error? The link: is used in devDependencies only and shouldn't be parsed by npm.

@bluwy

patch

https://github.com/nxhack/openwrt-node-packages/blob/dev/node-vite/patches/001-use_file.patch

@esaaprillia
Copy link
Author

I don't do this

npm create vite

I just do this

npm install

@bluwy
Copy link
Member

bluwy commented Jun 13, 2024

Can you provide a reproduction of the issue? I can run npm install but there's no project for me to run in, so I used npm create vite. (The https://github.com/nxhack/openwrt-node-packages repo itself it not a repro)

@patak-dev
Copy link
Member

@esaaprillia please create a new issue with a proper minimal reproduction, I don't think this is actionable as stated by @bluwy (the patch link shared above is also broken).

@patak-dev patak-dev closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cannot reproduce The bug cannot be reproduced pending triage
Projects
None yet
Development

No branches or pull requests

3 participants