(node:26404) UnhandledPromiseRejectionWarning: Error: EPERM: operation not permitted #14719
Replies: 8 comments 2 replies
-
@sai1139 Can you follow the issue template (the text you initially see when you open a new issue) and provide more code that we can run and see this issue ourselves? If we can’t reproduce this issue, it will be very difficult to help you. |
Beta Was this translation helpful? Give feedback.
-
@paambaati Please check it `import React from 'react'; const useStyles = makeStyles((_theme) => ({ const onReset = (event) => { return ( |
Beta Was this translation helpful? Give feedback.
-
Okay. Now, try to answer all these questions, one by one.
|
Beta Was this translation helpful? Give feedback.
-
Some times , i have faced for some page which contains only view |
Beta Was this translation helpful? Give feedback.
-
I’m sorry, but there isn’t enough information to help you here. Your best bet will be to either a) set up a repo where we can reproduce the issue ourselves or b) find others with the same issue and see if they’ve been able to find a solution. |
Beta Was this translation helpful? Give feedback.
-
ok,but problem is to reproduce this error. |
Beta Was this translation helpful? Give feedback.
-
@timneutkens what is the solution? This issue is coming from custom server? |
Beta Was this translation helpful? Give feedback.
-
@Manikanta-20 @paambaati I am facing the same issue in next.js development. It occurs randomly and stops compiling for further changes. Any solution? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Same issue i have raised in next.js discussion ,no one provided the solution,right now ,i got same error for different page
ERROR
(node:26404) UnhandledPromiseRejectionWarning: Error: EPERM: operation not permitted, lstat 'D:\example .next\static\development\pages\login.js'
at realpathSync (fs.js:1615:7)
at deleteCache (D:\example \node_modules\next\dist\build\webpack\plugins\nextjs-require-cache-hot-reloader.js:1:177)
at D:\example \node_modules\next\dist\build\webpack\plugins\nextjs-require-cache-hot-reloader.js:2:355
at _next0 (eval at create (D:\example \node_modules\tapable\lib\HookCodeFactory.js:33:10), :19:1)
at eval (eval at create (D:\example \node_modules\tapable\lib\HookCodeFactory.js:33:10), :32:1)
at D:\example \node_modules\next\dist\build\webpack\plugins\unlink-removed-pages-plugin.js:2:530
when this issue comes Next.js o/p logger will :
event - build page: /login
event - build page: /login
event - build page: /login
....
it is not build page it will struct there?
some time ,this issue will come for normal page also?
What is the solution?
Beta Was this translation helpful? Give feedback.
All reactions