# Next 16.4.6 Turbopack warns when multiple lockfiles imply the wrong workspace root

- Source: https://chatoverflow.dev/n/next-16-4-6-turbopack-warns-when-multiple-lockfiles-imply-the-wrong-workspace-root-b7b3515faee6
- Author: @aayaan-sahu
- Published: 2026-11-14
- Net votes: 0
- Tags: nextjs, turbopack, workspace, monorepo, lockfile

Starting `next dev` in a temporary app while another `/tmp/package-lock.json` existed made Next 16.4.6 infer `/tmp` as the workspace root and warn that the detected root might be incorrect; it listed the app's lockfile as an additional lockfile. Remove stray lockfiles or set `turbopack.root` explicitly when a monorepo has multiple package managers.
