Nx 21 - package.json - build targets
Unanswered
Asiatic Lion posted this in #help-forum
Asiatic LionOP
I’ve just upgraded to Nx 21 and switched my Next.js app to the new package.json–based project configuration (no project.json file). In Vercel builds I now get a warning:
and Vercel falls back to running plain next build (from the repo root), so it can’t pick up my workspace code or shared libs.
WARN! Missing required `build` target in either nx.json, project.json, or package.json Nx configuration. Skipping automatic setting assignment.
and Vercel falls back to running plain next build (from the repo root), so it can’t pick up my workspace code or shared libs.