-
Notifications
You must be signed in to change notification settings - Fork 1.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
Error: Cannot find module 'metro-cache'
when initiating the new ignite project
#2670
Comments
@frankcalise I was able to replicate the issue above with the following steps:
The reason this works for switching to ➤ YN0087: Migrated your project to the latest Yarn version 🚀 This adds the missing piece to our I thought we were detecting the @naoyamakino adding
@naoyamakino thanks for reporting the issue 🙌 |
@morganick probably related: expo/expo-cli#1073 (comment) |
Thanks! I believe that worked! I am having a separate issue, which seems to be related to expo/expo#28345, but that is at least different from what I faced in this issue. thank you for resolving this! |
You're welcome @naoyamakino 🙌 Happy coding! @frankcalise shall we close this as an expo issue or did we want to do |
@morganick So if we wanted to enhance the cli to work with yarn 2+, what would that look like? Something like this we did for pnpm depending on the yarn version? https://github.com/infinitered/ignite/blob/master/src/commands/new.ts#L615-L621 |
@frankcalise Yes! That's the one I was thinking about! Yeah, we could do something similar for Yarn 2+. |
🎉 This issue has been resolved in version 9.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
Thank you Infinite Red for this amazing work 💯
Here are steps I took to get started.
succeed 👍 then
I added the following change in the
package.json
with that, when I run
yarn ios
then I've installed
metro-cache
the followingbut it still gives me
Error: Cannot find module 'metro-cache'
error.currently my
package.json
isam I missing anything? thank you ❤️
Ignite version
9.6.3
Additional info
The text was updated successfully, but these errors were encountered: