Closed seanconnollydev closed 4 months ago
I see a bunch of WARNING messages like the following:
Compiling endpoints...
▲ [WARNING] "../package.json" should be marked as external for use with "require.resolve" [require-resolve-not-external]
../../node_modules/playwright/lib/index.js:59:64:
59 │ (0, _utils.addInternalStackPrefix)(path.dirname(require.resolve('../package.json')));
This is in a yarn monorepo (yarn v1 workspaces).
The docs seem to generate okay, but the warnings are quite ugly.
Edit: I think this is a distinct issue so I opened #158
This should be now addressed in v6.0.0-beta.4
, please let me know if your issue persists after upgrading.
I tried walking through the getting started guide and ran into immediate esbuild errors when running
npx next-rest-framework generate
.My project matches all listed requirements. Node v18.17.0 Next.js v13.4.19 (using app router) Typescript v5.1.6 Zod v3.22.4