I am having error :
TypeError [ERR_INVALID_ARG_TYPE]: The “to” argument must be of type string. Received undefined
at new NodeError (node:internal/errors:406:5)
at validateString (node:internal/validators:162:11)
at Object.relative (node:path:502:5)
at Watchpack. (D:MyProjectsworkspacenode_modulesnextdistserverlibrouter-utilssetup-dev-bundler.js:381:55) {
code: ‘ERR_INVALID_ARG_TYPE’
}
while running command npm run dev in my next js project
Anyone help me to resolve this issue
I have tried deleting node_modules and package-lock.json but issue still persist