Not able to run n8n with (npm run build)

Hello community!
i got this error suddenly today when trying to fresh install

using Node - 14.18.0
and NPM - 6.14.15

following this manual:

the error comes after this npm run build command

thank you!!

Do you have the latest code? Because I also just tried and for me, it is working fine. Also the build on GitHub last night was fine.

Was n8n already checked out or is this when you start totally clean?

1 Like

problem solved. sometimes i just need to read a comment and clean the old version…thank you

1 Like

Glad to hear that you got it running. Have fun!