Build Errors #85985
Build Errors
#85985
Replies: 1 comment 10 replies
-
|
The first error shows a scandir operation failed in C:\ but the rest of the logs show we are running in F:? Like some node_modules are not where expected |
Beta Was this translation helpful? Give feedback.
10 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.
-
Summary
Trying to build a Project but whenever i run npm run build getting this error
glob error [Error: EPERM: operation not permitted, scandir 'C:\Users\Pruth\Cookies'] {
errno: -4048,
code: 'EPERM',
syscall: 'scandir',
path: 'C:\Users\Pruth\Cookies'
}
Failed to compile.
Error: EPERM: operation not permitted, scandir 'C:\Users\Pruth\Cookies'
HookWebpackError: Cannot read properties of undefined (reading 'server')
at makeWebpackError (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:29:315788)
at F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:29:106487
at eval (eval at create (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:14:9224), :20:1)
-- inner error --
TypeError: Cannot read properties of undefined (reading 'server')
at FlightClientEntryPlugin.createActionAssets (F:\Projects\lovable\bolt\node_modules\next\dist\build\webpack\plugins\flight-client-entry-plugin.js:665:68)
at F:\Projects\lovable\bolt\node_modules\next\dist\build\webpack\plugins\flight-client-entry-plugin.js:170:25
at fn (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:29:70201)
at _next7 (eval at create (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:14:9224), :12:17)
at eval (eval at create (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:14:9224), :31:1)
caused by plugins in Compilation.hooks.processAssets
TypeError: Cannot read properties of undefined (reading 'server')
at FlightClientEntryPlugin.createActionAssets (F:\Projects\lovable\bolt\node_modules\next\dist\build\webpack\plugins\flight-client-entry-plugin.js:665:68)
at F:\Projects\lovable\bolt\node_modules\next\dist\build\webpack\plugins\flight-client-entry-plugin.js:170:25
at fn (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:29:70201)
at _next7 (eval at create (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:14:9224), :12:17)
at eval (eval at create (F:\Projects\lovable\bolt\node_modules\next\dist\compiled\webpack\bundle5.js:14:9224), :31:1)
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions