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 list contents of .... Couldn't follow symbolic link.

See original GitHub issue

Getting this error in android with doing release build.

cd android && ./gradlew assembleDevRelease

FAILURE: Build failed with an exception.

* What went wrong:
Could not list contents of '/.../node_modules/metro/node_modules/.bin/babylon'. Couldn't follow symbolic link.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:8
  • Comments:23

github_iconTop GitHub Comments

135reactions
celodauanecommented, Oct 13, 2019

If rm -rf node_modules && npm install does not do the trick, run the following in your project dir: find . -type l -exec test ! -e {} \; -delete

22reactions
crobinson42commented, Mar 28, 2019

rm -rf node_modules && npm install

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "couldn't follow symbolic link" in Android Studio?
I have always resolved this issue by using unlink followed by the path where it's not finding symbolic link. example ...
Read more >
Couldn't follow symbolic link exception when a file is copied ...
What I want is to copy a single file into the user home directory. What I got till now is always an exception...
Read more >
Symbolic links not working in gradle/android builds in CI/CD.
I'm trying to automate gradle/android builds on gitlab private repo. When using files with symbolic links, I get this error -
Read more >
FIX ERROR — npm: Couldn't follow symbolic link
Could not list contents of '/var/lib/jenkins/workspace/myapp_develop_0.0.1/node_modules/react-native-interactable/{ios,android}'. Couldn't ...
Read more >
Android APK Build Failed Couldn't follow Symbolic Link React ...
Could not list contents of '/media/rashid/B0305F9E305F6A7C/MyProject/node_modules/.bin/pbjs'. Couldn't follow symbolic link.
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