with-yarn-workspaces is failing to build for multiple reasons.
jtwigg opened this issue · 0 comments
jtwigg commented
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'`