matysw
matysw
TTCTheo's Typesafe Cult
Created by matysw on 3/16/2025 in #questions
NextJS api route not working
hey so i have nextjs page using api routes, i created a simple api route that i wanna use as my backend kinda, just call it from another app and it will do some stuff and return back to me just an id... but that's not important, i tested it and it worked flawlessly on my localhost machine, once i deployed it it went thru with no build issues not even warning and when i want to test it it throws me
Function Invocation Internal Sever Error 500
Function Invocation Internal Sever Error 500
why is that? i dont get it
2 replies
TTCTheo's Typesafe Cult
Created by matysw on 1/23/2025 in #questions
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 😦
1 replies