when I run npm run dev Next.js unkown error [-4094]


This Content is from Stack Overflow. Question asked by Jacob Mutale

every time I run npm run dev I get this unkown error:

[Error: UNKNOWN: unknown error, readlink 'C:UsersJacob MutaleOneDriveDocumentswebdevNextJsdelicasa.nextstaticwebpack1428f0d33680ce2b.webpack.hot-update.json'] {
  errno: -4094,
  code: 'UNKNOWN',
  syscall: 'readlink',
  path: 'C:\Users\Jacob Mutale\OneDrive\Documents\webdev\NextJs\delicasa\.next\static\webpack\1428f0d33680ce2b.webpack.hot-update.json'

I went to the file in the webpack folder and found this:



This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?