Skip to content
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

with-yarn-workspaces is failing to build for multiple reasons. #456

Open
jtwigg opened this issue Jan 16, 2024 · 0 comments
Open

with-yarn-workspaces is failing to build for multiple reasons. #456

jtwigg opened this issue Jan 16, 2024 · 0 comments

Comments

@jtwigg
Copy link

jtwigg commented Jan 16, 2024

Describe the bug
Trying multiple ways to setup with-yarn-workspaces
There seems to be issues related to the packages setup.

Using yarn 4.0.2 or yarn 3.2.1 or 1.22.19 after setup I'm running yarn start-app => w: web and getting:

Please install @expo/webpack-config@^19.0.0 by running:
npx expo install @expo/webpack-config@^19.0.0

so I install this in the app/mobile folder as required
and then I get this

>yarn start-app
Error: Cannot find module 'expo-yarn-workspaces/webpack'

So I add it manually with yarn add expo-yarn-workspaces

After all that, yarn web finally launched metro but

Its blank. Some warnings but nothing that seems fatal.

Logs for your project will appear below. Press Ctrl+C to exit.
warning: Watchman `watch-project` returned a warning: Recrawled this watch 243 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/johntwigg/development/external/StickerSmashYarn' ; watchman watch-project '/Users/johntwigg/development/external/StickerSmashYarn'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 243 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/johntwigg/development/external/StickerSmashYarn' ; watchman watch-project '/Users/johntwigg/development/external/StickerSmashYarn'`

warning: Watchman `query` returned a warning: Recrawled this watch 243 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/johntwigg/development/external/StickerSmashYarn' ; watchman watch-project '/Users/johntwigg/development/external/StickerSmashYarn'`

Recrawled this watch 243 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/johntwigg/development/external/StickerSmashYarn' ; watchman watch-project '/Users/johntwigg/development/external/StickerSmashYarn'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant