Could not list contents of .... Couldn't follow symbolic link.
See original GitHub issueGetting 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:
- Created 5 years ago
- Reactions:8
- Comments:23
Top 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 >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
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
rm -rf node_modules && npm install