Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Cannot 'npm install' Draft.js #2046

Closed
marton-levay opened this issue Mar 28, 2019 · 14 comments
Closed

Cannot 'npm install' Draft.js #2046

marton-levay opened this issue Mar 28, 2019 · 14 comments
Assignees

Comments

@marton-levay
Copy link

Do you want to request a feature or report a bug?
Report a bug

What is the current behavior?
image

image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Clone the repository and try to install it
git clone [email protected]:facebook/draft-js.git
cd draft-js
npm install

What is the expected behavior?
Not getting a truckload of errors right off the bat would be a nice start :)

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft.js 0.10.5 / no browser yet / nope my Windows is not affected by this issue (i'm not sure what that supposed to mean) / I wouldn't know, trying it for the first time.

@claudiopro claudiopro self-assigned this Mar 28, 2019
@claudiopro
Copy link
Contributor

Taking a look

@claudiopro
Copy link
Contributor

It may be an issue with the npm registry. I'm receiving timeouts:

# procidac at mbp.local in ~/dev/gh/facebook/draft-js on git:master ● [19:24:09]
→ npm install
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ETIMEDOUT: request to https://registry.npmjs.org/del failed, reason: connect ETIMEDOUT 104.16.22.35:443

@claudiopro
Copy link
Contributor

@marton-levay are you on a VPN? I had issues connecting to the registry with IPv4 while on an IPv6 VPN myself.

@marton-levay
Copy link
Author

Thanks for the help!
I'm not using a VPN (as in ExpressVPN or NordVpn or some such). However I'm behind the usual - internet provider (UPC) given - router so from that point of view I'm sitting in my own private network. Didn't have any problem with it so far.

@claudiopro
Copy link
Contributor

Just out of curiosity, do you have yarn installed on your system? We may have uncovered an implicit dependency of yarn via fbjs-scripts.

@claudiopro
Copy link
Contributor

I believe this is an issue of fbjs, it assumes you have yarn installed on your system. Please install yarn following these instructions to unblock yourself.

I opened facebook/fbjs#344 to track it. Feel free to reopen if you still have issues.

@mohitkumarCLS
Copy link

image
I am getting this issue using npm install. Need help thanks

@dflanagan
Copy link

@claudiopro informing of dependency upon yarn solved this issue for me upon my yarn install. Thanks!!!

@morganfeeney
Copy link

Thanks for raising this issue, without it I would have had no idea how to get a demo up and running.

@findlay-best-wishes
Copy link

Thanks for raising this issue, without it I would have had no idea how to get a demo up and running.

Did you solve the problem,can you help me?

@findlay-best-wishes
Copy link

I also get the error,do you have solution?Can you help me

@morganfeeney
Copy link

@Fnatic-twist I think the solution was to install Yarn globally.

@jerryfishzz
Copy link

Install Yarn and yarn install

@fml077
Copy link

fml077 commented Jul 27, 2021

Did you solve the problem? I also get the error. I also tried install Yarn and run yarn install ,but it doesn't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants