Next.js Discord

Discord Forum

Error: EISDIR: illegal operation on a directory, readlink

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Avatar
Polar bearOP
I installed next js setup: >npx create-next-app@latest

And then ran : npm run build

It shows error:

Failed to compile. Error: EISDIR: illegal operation on a directory, readlink 'E:\next_blank_app\node_modules\next\dist\pages_app.js' > Build failed because of webpack errors

0 Replies