xcode - React Native project initial compilation error -


i created new react native project , ran in xcode. following error in terminal , can't figure how fix:

error eacces, permission denied '/users/andrey.pokrovskiy/.babel.json' {"errno":3,"code":"eacces","path":"/users/andrey.pokrovskiy/.babel.json","syscall":"open"} error: eacces, permission denied '/users/andrey.pokrovskiy/.babel.json' @ object.fs.opensync (evalmachine.:438:18) @ object.fs.writefilesync (evalmachine.:977:15) @ save (/users/andrey.pokrovskiy/desktop/lab/newiosapp/node_modules/react-native/node_modules/babel-core/lib/api/register/cache.js:35:19) @ process._tickcallback (node.js:419:13) @ function.module.runmain (module.js:499:11) @ startup (node.js:119:16) @ node.js:906:3 

i've tried chown file , looked solution no luck.

meanwhile xcode throws apple mach-o linker error 25 errors inside. never worked xcode have no clue means.

seemingly easy installation turned nightmare me. appreciated!

i had met same problem, , fixed executing following command:

sudo chmod 777 /users/xxxx/.babel.json 

and re-init react-native project

react-native init awesome-project 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -