Could not read path '${RN_PROJECT_DIRECTORY}\node_modules\@babel\parser\.bin\parser'.
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
Run react-native info
in your terminal and paste its contents here.
React Native Environment Info:
System:
OS: Windows 10
CPU: x64 Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz
Memory: 1.43 GB / 7.91 GB
Binaries:
Yarn: 1.12.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5056338
Description
I want to build APK release from React Native project. Unfortunately, I got this error.
Starting a Gradle Daemon, 1 incompatible and 3 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture snapshot of input files for task ':app:bundleReleaseJsAndAssets' property '$1' during up-to-date check.
> Could not read path '${RN_PROJECT_DIRECTORY}\node_modules\@babel\parser\.bin\parser'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Reproducible Demo
Create new React Native project with react-native-cli
, for example:
react-native init sampleApp
cd sampleApp/android && gradlew assembleRelease
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:17
Top Results From Across the Web
Gradle Build Fails with "Could not read path" When Instant ...
When i go to that address in explorer i see i can not open the folder and it gives permission error. So i...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
version@1.10.1 is OK @achmadk @thomanau
I also encountered this. Seems to be a problem with newer Yarn versions on Windows.