Closed linonetwo closed 1 year ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
This is a known issue, @byCedric @robhogan and others are currently working on pnpm support. If you search for pnpm on other repos you'll find related issues to this problem as well (such as https://github.com/react-native-community/cli/issues/1207).
I'll close this one as we're aware of the issue and currently working on it, we won't be using this specific bug report to track this effort.
Okay, and I already get it work somehow, by following those discussion threads, thanks.
By adding this npmrc https://github.com/tiddly-gittly/TidGi-Mobile/blob/master/.npmrc
just an workaround before the official fix.
Description
Error
while
node_modules/expo/AppEntry.js
turely exists.I think this is because it can't follow pnpm's soft link. I try using npm install and it works.
Full error:
React Native Version
0.72.4
Output of
npx react-native info
info Fetching system and libraries information... System: OS: macOS 13.5 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 54.77 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.2.0 path: ~/.nvm/versions/node/v20.2.0/bin/node Yarn: version: 1.22.4 path: /usr/local/bin/yarn npm: version: 9.6.6 path: ~/.nvm/versions/node/v20.2.0/bin/npm Watchman: version: 2023.08.14.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.12.1 path: /Users/linonetwo/.gem/ruby/2.6.0/bin/pod SDKs: iOS SDK: Platforms:
Steps to reproduce
pnpm dlx create-expo-app -t expo-template-blank-typescript TidGi-Mobile
And using
pnpm run android
Snack, screenshot, or link to a repository
Just use an official blank setup is enough.