Turbopack Error: failed to create junction point to ../../../node_modules/mongoose #88059
Closed
hafeezchoudhary
started this conversation in
Turbopack Error Report
Replies: 2 comments
-
Close all Next/Node processes.
Remove-Item -Recurse -Force .next
Remove-Item -Recurse -Force node_modules\.cache -ErrorAction SilentlyContinueIf you still get the same error, search for the already-created junction inside .next and remove it: Get-ChildItem -Recurse .next | Where-Object { $_.Name -match "mongoose" }
Remove-Item -Recurse -Force node_modules
# delete your lockfile too if you want a full reset:
# Remove-Item package-lock.json / yarn.lock / pnpm-lock.yaml
npm install
npm run dev |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This discussion appears to be a duplicate of #87770. Please follow the discussion there: #87770 This comment was added automatically by the discussion consolidation tool. If you believe this is in error, feel free to re-open the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Turbopack version:
d1bd5b58Next.js version:
0.0.0Error message:
Beta Was this translation helpful? Give feedback.
All reactions