Weird error out of nowhere
Answered
Varun posted this in #help-forum
VarunOP
PS C:\Users\varun\OneDrive\Desktop\Coding\tunedin-landing> npm run dev
[Error: EINVAL: invalid argument, readlink 'C:\Users\varun\OneDrive\Desktop\Coding\tunedin-landing.next\types\app(auth)\privacy_policy\page.ts'] {
errno: -4071,
code: 'EINVAL',
syscall: 'readlink',
path: 'C:\Users\varun\OneDrive\Desktop\Coding\tunedin-landing\.next\types\app\(auth)\privacy_policy\page.ts'
}
I am not sure as to what is causing this error when I try running any npm commands
open-pro-next@0.1.0 dev
next dev
[Error: EINVAL: invalid argument, readlink 'C:\Users\varun\OneDrive\Desktop\Coding\tunedin-landing.next\types\app(auth)\privacy_policy\page.ts'] {
errno: -4071,
code: 'EINVAL',
syscall: 'readlink',
path: 'C:\Users\varun\OneDrive\Desktop\Coding\tunedin-landing\.next\types\app\(auth)\privacy_policy\page.ts'
}
I am not sure as to what is causing this error when I try running any npm commands
Answered by Siberian Rubythroat
Try to delete
If it don't help I recommend you to open issue on Next.js github
.next folder - kill terminal - npm run dev againIf it don't help I recommend you to open issue on Next.js github
2 Replies
Siberian Rubythroat
Try to delete
If it don't help I recommend you to open issue on Next.js github
.next folder - kill terminal - npm run dev againIf it don't help I recommend you to open issue on Next.js github
Answer
VarunOP
thanks that worked!