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
Pnpm not working with Expo #22413
Comments
I'm also trying to get pnpm working -- what holds me back is that From what I can observe around metro#1 we're very close to this actually all working nicely with just plain (space-efficient & fast) pnpm symlinks. |
@MariuzM you'd at least need an
|
@MariuzM should this be reopened now that Expo SDK 50 is out, which uses React Native 0.73 internally? React 0.73 has made symlink support stable. Would be great to get |
Hey, hm not sure i've stoped using PNPM and moved to Bun |
Just tried Expo 50 + RN 0.73 with a new $ mkdir a
$ cd a
$ pnpm create expo@latest --template expo-template-blank-typescript .
.../Library/pnpm/store/v3/tmp/dlx-68676 | +1 +
.../Library/pnpm/store/v3/tmp/dlx-68676 | Progress: resolved 1, reused 0, downloaded 1, added 1, done
✔ Downloaded and extracted project files.
> pnpm install
WARN 8 deprecated subdependencies found: @babel/plugin-proposal-async-generator-functions@7.20.7, @babel/plugin-proposal-class-properties@7.18.6, @babel/plugin-proposal-nullish-coalescing-operator@7.18.6, @babel/plugin-proposal-numeric-separator@7.18.6, @babel/plugin-proposal-object-rest-spread@7.20.7, @babel/plugin-proposal-optional-catch-binding@7.18.6, @babel/plugin-proposal-optional-chaining@7.21.0, @npmcli/move-file@1.1.2
Packages: +840
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 847, reused 833, downloaded 7, added 840, done
dependencies:
+ expo 50.0.4
+ expo-status-bar 1.11.1
+ react 18.2.0
+ react-native 0.73.2
devDependencies:
+ @babel/core 7.23.9
+ @types/react 18.2.48
+ typescript 5.3.3
Done in 17.7s
✅ Your project is ready!
To run your project, run one of the following pnpm commands.
- pnpm run android
- pnpm run ios
- pnpm run web The app scaffolded without problems, but as soon as I tried to run it on an Android emulator, it crashed, unable to resolve
It seems to be because of some hardcoded relative path in |
Also asked Expo and pnpm maintainers over here in the open |
This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Not stale |
with |
Minimal reproducible example
https://github.com/MariuzM/expo-test
Summary
When i run
pnpm ios
i get his error. The Expo install is latest with typescript. No other tweaks / changes have been done.Environment
Local
The text was updated successfully, but these errors were encountered: