Closed riccardolardi closed 2 months ago
Description and expected behavior When building the Next.js application I get this warning:
./node_modules/@zenstackhq/runtime/enhance.js Module not found: Can't resolve '.zenstack/enhance' in '/Users/riccardolardi/Code/xyz-nextjs/node_modules/@zenstackhq/runtime' Import trace for requested module: ./node_modules/@zenstackhq/runtime/enhance.js ./node_modules/@zenstackhq/runtime/index.js ./src/server/api/zen.ts ./src/server/api/trpc.ts ./src/app/api/trpc/[trpc]/route.ts
...upon which the build fails due to lots of eslint errors due to the failed module resolve from above.
Environment (please complete the following information):
Additional context I have tried clearing yarn cache, node_modules, etc. Any help is greatly appreciated.
Nevermind - forgot to run zenstack generate before.
zenstack generate
Description and expected behavior When building the Next.js application I get this warning:
...upon which the build fails due to lots of eslint errors due to the failed module resolve from above.
Environment (please complete the following information):
Additional context I have tried clearing yarn cache, node_modules, etc. Any help is greatly appreciated.