Open ubugnu opened 8 months ago
Is this related to #7024?
Hi, is this gonna be solved? Have the same problem.
I have the same problem.
Same problem with pnpm on MacOS.
Why the previous messages were marked as spam? The issues with the with-react-native-web template persist from my side.
Thanks for your response, this is what I got
Thanks for your response, this is what I got
I actually just updated the dependencies, ran
npx expo install --fix
, switched to yarn, and got everything to work"dependencies": { "@repo/ui": "*", "expo": "^51.0.12", "expo-crypto": "^13.0.2", "expo-status-bar": "~1.12.1", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.74.2", "react-native-web": "^0.19.10" }, "devDependencies": { "@babel/core": "^7.23.7", "@expo/webpack-config": "^19.0.0", "@types/react": "~18.2.79", "@types/react-native": "^0.73.0", "typescript": "~5.3.3" }
And then I added a webpack.config.js for a crypto error
const createExpoWebpackConfigAsync = require('@expo/webpack-config');
module.exports = async function (env, argv) { const config = await createExpoWebpackConfigAsync(env, argv); config.resolve.fallback = { ...config.resolve.fallback, crypto: require.resolve('expo-crypto'), }; return config; };
@osvald0, comments get marked as spam when they're only "me, too" and don't add value. They ping everyone following the issue, creating noise, and we use 👍 emojis on issues to gauge interest on where those of us on the core team need to be pointing our attention.
That said, I'm the keeper of our examples and I admittedly have no React Native knowledge. If the folks that are on this issue have fixes they could contribute back to the repo, I would really, really appreciate the help.
Thanks for the explanation.
Verify canary release
Link to code that reproduces this issue
https://github.com/ubugnu/turborepo-issue-1
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Linux
Which canary version will you have in your reproduction?
turbo 1.12.5-canary.2
Describe the Bug
On a freshly created turborepo with command:
When I run
pnpm run dev
I got tons ofModule not found
errorsExpected Behavior
I can use the app on both browser and expo like I did when choosing
npm
oryarn
.To Reproduce
Additional context
It works perfectly when choosing
npm
andyarn
as package manager.