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

can't install react native using npx react-native init AppName #34081

Closed
charismanapriandi opened this issue Jun 27, 2022 · 0 comments
Closed

Comments

@charismanapriandi
Copy link

Description

I got the error when installing react native using "npx react-native init MyTestApp"

`Need to install the following packages:
react-native@0.69.0
Ok to proceed? (y) Y
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /Users/risman/.npm/_npx/7930a8670f922cdb/node_modules/react-native
npm ERR! dest /Users/risman/.npm/_npx/7930a8670f922cdb/node_modules/.react-native-tr3sR9QU
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '/Users/risman/.npm/_npx/7930a8670f922cdb/node_modules/react-native' -> '/Users/risman/.npm/_npx/7930a8670f922cdb/node_modules/.react-native-tr3sR9QU'

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/risman/.npm/_logs/2022-06-27T14_43_45_624Z-debug-0.log`

error log: https://drive.google.com/file/d/1YEZGNVLf5aJzGzDoQaQWPzNi1NAUPezj/view?usp=sharing

Version

0.69.0

Output of npx react-native info

.

Steps to reproduce

.

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

.

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

2 participants