React-native: Error: EPERM: operation not permitted, open 'C:\Users\137572\.babel.json'

Created on 22 Jun 2018  路  2Comments  路  Source: facebook/react-native

Environment

react-native info
Scanning folders for symlinks in D:\First1node_modules (48ms)
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: EPERM: operation not permitted, open 'C:\Users\137572.babel.json'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.writeFileSync (fs.js:1291:33)
at save (D:\First1node_modulesbabel-register\lib\cache.js:48:16)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:678:11)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3.

Description

Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.

capture32

Reproducible Demo

https://snack.expo.io/@nikhilthanga/tictat

Locked

Most helpful comment

Go to c:/Users/user
Right click .babel.json and uncheck "Hidden".

It is work for me.

All 2 comments

It looks like your issue may be missing some necessary information. Can you run react-native info and edit your issue to include these results under the Environment section?

Go to c:/Users/user
Right click .babel.json and uncheck "Hidden".

It is work for me.

Was this page helpful?
0 / 5 - 0 ratings