Open sebastienlabine opened 2 years ago
Hi, can you provide your "start" script in package.json? It seems like yarn was calling another script, but the path it passed to node is corrupted.
@H4M5TER the script called was "expo start". I think the path was corrupted because of the UTF-8 characters "S├®b"
@merceyz I see you mentioned this issue multiple times, do you know if a fix is considered?
Having exactly same issue here. I have UTF-8 characters in my "Desktop" path and I'm not able to fire up "yarn run". It says "MODULE_NOT_FOUND". But I can use other package managers:
So... It didn't happen before. Is it something changed?
Check #5319 Patch your own yarn.cjs for a workaround
Hi everyone! I have a similar issue.
I'm using Windows and I have special characters in my username, and I'm trying to run 'yarn create playwright'. Instead of 'C:\Users\ŁukaszStefański...' I'm getting 'C:\Users\┼üukaszStefa┼äski\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js' and I'm unable to use the mentioned command.
In the 1809 build of Windows 10 (released about 5 years ago) there is a beta option: Use Unicode UTF-8 for worldwide language support
. As of today, it's still in beta, but helped me to solve this issue permanently.
Check this answer: https://superuser.com/a/1435645/250990
Self-service
Describe the bug
Executing a script inside a path that has a UTF-8 character fails with error MODULE_NOT_FOUND.
As soon as I move my project to the C:/, everything works fine.
To reproduce
Environment
Additional context
Multiple other bug report like #3725 reported the same issue