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

Getting error EUNSUPPORTEDPROTOCOL #13824

Closed
ossdev07 opened this issue Oct 11, 2018 · 7 comments
Closed

Getting error EUNSUPPORTEDPROTOCOL #13824

ossdev07 opened this issue Oct 11, 2018 · 7 comments

Comments

@ossdev07
Copy link

While trying to install using npm install, i was getting below error:
**npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "link:": link:./scripts/eslint-rules/

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-10-11T06_52_49_537Z-debug.log**

On debugging understood that dependency "eslint-plugin-react-internal": "link:./scripts/eslint-rules/" in package.json is giving error. Currently there is no version of eslint-plugin-react-internal package.

Can we run all cases even after removing this dependency from package.json.

Thanks in advance.

@vinay72
Copy link

vinay72 commented Oct 11, 2018

I suggest you to use node 8.9.4 recommended version and install your package with sudo permission.

`sudo npm install'

@gaearon
Copy link
Collaborator

gaearon commented Oct 11, 2018

Hi! We use the issue tracker for bug reports and feature requests.

If you have a question, please check our community support resources:
https://facebook.github.io/react/community/support.html

@gaearon gaearon closed this as completed Oct 11, 2018
@lunaAucrux
Copy link

change 'link' to 'file' can solve this problem for me ( in mac Hige Sierra)
"eslint-plugin-react-internal": "file:./scripts/eslint-rules/"

The reference that I learn from is in:
https://stackoverflow.com/questions/14381898/local-dependency-in-package-json/14387210#14387210

@ossdev07
Copy link
Author

@peachen It worked for me. Thank you so much

ArturT added a commit to KnapsackPro/react that referenced this issue Mar 15, 2019
@yujiangshui
Copy link

You can also choose to use yarn install the packages, it supports this.

@kannandvsha
Copy link

change 'link' to 'file' can solve this problem for me ( in mac Hige Sierra)
"eslint-plugin-react-internal": "file:./scripts/eslint-rules/"

The reference that I learn from is in:
https://stackoverflow.com/questions/14381898/local-dependency-in-package-json/14387210#14387210

this works in windows env. thanks

@jawadzahoor72
Copy link

jawadzahoor72 commented Jul 12, 2023

Please check devdependencies, if you are using any link local package or proxy please remove it. or fix it according to your node and react version,
Then
delete node_modules and incase of yarn, delete yarn.lock
clear cache
npm cache clear --force
and then again install npm install
resolved my issue

higgins added a commit to higgins/react that referenced this issue Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants