viromedia / viro

ViroReact: AR and VR using React Native
MIT License
2.31k stars 483 forks source link

react-viro init ViroSample --verbose not work !! #553

Open ghost opened 5 years ago

ghost commented 5 years ago

I installed every thing that have mentioned if the official documentation but when I type react-viro init hello this error appear :

$ react-viro init hello
0.58.4
/usr/local/bin/react-viro: line 139: cd: hello: No such file or directory 
arashmad commented 3 years ago

+1

arashmad commented 3 years ago

I installed every thing that have mentioned if the official documentation but when I type react-viro init hello this error appear :

$ react-viro init hello
0.58.4
/usr/local/bin/react-viro: line 139: cd: hello: No such file or directory 

Following this instruction and after doing Copy Files from React Viro step, open blacklist.js file from /project_root/node_modules/metro-config/src/defaults/ path and find var sharedBlacklist = [. Change this line from

/node_modules[/\\]react[/\\]dist[/\\].*/,

to

/node_modules[\/\\]react[\/\\]dist[\/\\].*/,

Save and go back to root of peoject. Now finish remained steps of mentioned instruction.