Open mxstbr opened 8 months ago
This is caused by turbopack
being unable to resolve same-package imports, i.e. when we import fuse
from fuse/client
then it will assume that fuse
does not exist or can't be resolved as it's not present in the package.json
/node_modules
of the sub-folder we are in. Instead what vite
/webpack
seem to do is either resolve it form the root or recognise that we are already on fuse
.
The error is basically a side-effect from not being able to resolve the fuse
import and hence having no schema available to the server.
Summary
I tried
next dev --turbo
after runningcreate-fuse-app
and everything worked great—except the filesystem-basedtypes/
folder isn't being picked up (as seen here because mytypes/Story.ts
file isn't being picked up):If I remove
--turbo
it works great:Everything else seems to work!