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

npx create-react-library does not finish executing #351

Open
damiensedgwick opened this issue Aug 7, 2021 · 7 comments
Open

npx create-react-library does not finish executing #351

damiensedgwick opened this issue Aug 7, 2021 · 7 comments

Comments

@damiensedgwick
Copy link

damiensedgwick commented Aug 7, 2021

After running npx create-react-library and filling out the prompts, the cli proceeds to install the dependancies but it never actually finishes executing. See attached screenshot of my terminal, I had to control+c to get it to finish.

image

If I then go into the project and run yarn or npm i it installs the dependancies as expected.

I am on a macbook pro (m1) running Big Sur 11.4

@ahmedsayedabdelsalam
Copy link

me to on a macbook pro 2017 (intel) Big Sur

@CodingByJerez
Copy link

Same problem for me also on an M1

@freddiemixell
Copy link

Same problem for me. If I switch to npm it does finish but with an error: Error: Command failed with exit code 127: npm install

@freddiemixell
Copy link

I figured out that the problem is happening when the example project is being installed. Hope this helps!

npm ERR! code 127
npm ERR! path /Users/freddiemixell/repos/modal-router/node_modules/typescript
npm ERR! command failed
npm ERR! command sh -c gulp build-eslint-rules
npm ERR! sh: gulp: command not found

@dashty94
Copy link

dashty94 commented Dec 1, 2021

What is the solution for this?

@kyuhyunhan
Copy link

try open example/package.json and replace typescript's version in dependencies("file:../node_modules/typescript") to the one in root package.json

@chriszrc
Copy link

solution is here- #293 (comment)

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

7 participants