xxh5rwq0t._.js:15807:21)
[browser] ./app
Error: Could not find the Next.js package (next/package.json)
Resolved from: E:\Desktop\cafely1.1-main\app
Filesystem root used for resolution: E:\Desktop\cafely1.1-main
Possible causes:
- node_modules is being reorganized by a concurrent install (e.g. pnpm adding a package with a `next` peer dependency). This is transient and should clear once the install completes.
- node_modules/next was removed, renamed, or has a broken symlink.
- The workspace root is incorrect — see turbopack.root in the Next.js config docs for how to configure it.
- In a monorepo, the Next.js package may only exist in a directory above the closest directory containing a package manager lockfile. The workspace root is detected by locating the nearest package manager lockfile.
- Next.js is installed globally rather than as a project dependency. This is not supported; install it locally.
Note: To ensure a hermetic build and a portable cache, files outside of the workspace root are not compiled.
https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack#root-directory
at handleErrors (file://E:/Desktop/cafely1.1-main/.next/dev/static/chunks/node_modules_next_dist_client_1wygxxh5rwq0t._.js:15807:21)
at processMessage (file://E:/Desktop/cafely1.1-main/.next/dev/static/chunks/node_modules_next_dist_client_1wygxxh5rwq0t._.js:15883:21)
at WebSocket.handleMessage (file://E:/Desktop/cafely1.1-main/.next/dev/static/chunks/node_modules_next_dist_client_1wygxxh5rwq0t._.js:16262:52) (file://E:/Desktop/cafely1.1-main/.next/dev/static/chunks/node_modules_next_dist_client_1wygxxh5rwq0t._.js:15807:21)