-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find entry file
when using pnpm
and crna
#18156
Comments
So it look like Haste doesn't follow symlinks. jestjs/jest#1477 And lack of symlink support seems to be a popular RN issue: facebook/metro#1 I think an easy fix might be to use a realpath for the entry file. Trying now. |
You can do this by changing the After changing it you need to Dismiss the RSOD and then press Try Again or it won't update. To check its using the right path you can add a Still gets stuck after this and eventually times out. Must be more issues with symlinks. |
Thanks for posting this! It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest stable release? Thank you for your contributions. |
@dzearing FYI |
Looks like this is something that should be reported in the |
When I create an app from
create-react-native-app
, and then runningrm -rf node_modules; pnpm install
, the following messaged appears:But it is in the
/dev/xxx
, but in pnpm all node_modules are symlinks.In
HasteFS
injest-haste-map
:...prints:
So it seems HasteFS is not handling symlinks correctly.
Environment
Related
pnpm/pnpm#940
The text was updated successfully, but these errors were encountered: