TanStackT
TanStack11mo ago
2 replies
brilliant-lime

Cannot find package after build and start

Hey all, having issues with a subdependency not being found after build (runs fine in local dev) - giving error upon starting the app:

[ERR_MODULE_NOT_FOUND]: Cannot find package 'starknet-types-07'

This is imported by by the starknet package as per attached image - but no matter what I do I cannot get it recognised in the vercel preset build (I have tried directly aliasing in my own package.json, importing in shims, various ssr noExternals and resolve aliases - some of which have fixed in a local
node-server
preset build - but does not seem to fix for vercel
image.png
Was this page helpful?