question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not read path '${RN_PROJECT_DIRECTORY}\node_modules\@babel\parser\.bin\parser'.

See original GitHub issue

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:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:17

github_iconTop GitHub Comments

7reactions
YanmaYcommented, Nov 3, 2018

version@1.10.1 is OK @achmadk @thomanau

6reactions
thomanaucommented, Nov 2, 2018

I also encountered this. Seems to be a problem with newer Yarn versions on Windows.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found