Cannot find module 'expo-asset/tools/hashAssetFiles'

hey everyone! ive just recently moved from normal repo to monorepo due to my stack, and currently i have turborepo-RN, and my expo app is in apps/native. however i have a weird issue:
iOS Bundling failed 6713ms apps/native/index.js (4553 modules)
ERROR node_modules/expo-router/assets/unmatched.png: Cannot find module 'expo-asset/tools/hashAssetFiles'
Require stack:
- /Users/xxx/node_modules/metro/src/Assets.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/getAssets.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/asset-transformer.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/metro-transform-worker.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/transform-worker.js
- /Users/xxx/node_modules/metro/src/DeltaBundler/Worker.flow.js
- /Users/xxx/node_modules/metro/src/DeltaBundler/Worker.js
- /Users/xxx/node_modules/jest-worker/build/workers/processChild.js
iOS Bundling failed 6713ms apps/native/index.js (4553 modules)
ERROR node_modules/expo-router/assets/unmatched.png: Cannot find module 'expo-asset/tools/hashAssetFiles'
Require stack:
- /Users/xxx/node_modules/metro/src/Assets.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/getAssets.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/asset-transformer.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/metro-transform-worker.js
- /Users/xxx/node_modules/@expo/metro-config/build/transform-worker/transform-worker.js
- /Users/xxx/node_modules/metro/src/DeltaBundler/Worker.flow.js
- /Users/xxx/node_modules/metro/src/DeltaBundler/Worker.js
- /Users/xxx/node_modules/jest-worker/build/workers/processChild.js
ive tried bunch of fixes like: https://github.com/expo/expo/issues/9557 or https://github.com/expo/expo/issues/9485 currently helpess ๐Ÿ˜ฆ
GitHub
Cannot find module 'expo-asset/tools/hashAssetFiles' ยท Issue #9557...
After ejecting project to bare workflow I'm getting this error : error node_modules\react-navigation-stack\lib\module\vendor\views\assets\back-icon.png: Cannot find module 'expo-asset/tools...
GitHub
Cannot find module 'expo-asset/tools/hashAssetFiles' when trying to...
๐Ÿ› Bug Report Summary of Issue Cannot generate Android app bundle (terminal 1) react-native start [Thu Jul 30 2020 24:51:01.934] BUNDLE ./index.js error: node_modules@react-navigation\stack\src\vie...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?