cli icon indicating copy to clipboard operation
cli copied to clipboard

npx react-native init does not work properly

Open geeklyc opened this issue 4 years ago • 0 comments

I want to create a new project using this command :

`npx react-native init project-name but it freezes on this line :

⸨⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠇ rollbackFailedOptional: verb npm-session 08fef662d42ce334

I've reinstalled node,npm but nothing has changed.

To verify if the problem is related to npx or no, I tried to run npx create-react-app project-name and it works very well.

React Native version: I tried to run npx react-native info but it displays :

⸨⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠇ rollbackFailedOptional: verb npm-session ba05e90f993d0941

Expected Results Created react-native project.

Snack, code example, screenshot, or link to a repository:

image

geeklyc avatar Dec 20 '21 07:12 geeklyc