Turbopack Error: Next.js package not found #82274
Replies: 1 comment
-
The error message "Next.js package not found" typically means that Turbopack can't locate the Next.js installation in your project. Here are some steps to help troubleshoot and resolve this issue:
or
If Next.js is missing, add it with:
or
Sometimes your node_modules folder or package-lock.json/yarn.lock can become corrupted. Try deleting node_modules and reinstalling:
or
Ensure your Turbopack version is compatible with your Next.js version. Using mismatched versions might cause resolution errors.
Make sure your project root is set correctly and you run Turbopack commands from the directory where package.json and next.config.js live.
Sometimes build caches cause issues. Clear .next folder and any caches and try again. If these steps don't fix the issue, please provide:
Hope this helps! Let me know if you need further assistance. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Turbopack version:
v15.4.3-4-g9bf932c0c
Next.js version:
0.0.0
Error message:
Beta Was this translation helpful? Give feedback.
All reactions