Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

afoysal's avatar

Error in npm run dev command

I ran command npm run dev . I am getting below error.

error

0 likes
3 replies
Nihir's avatar

I think it's an installation error. I also got this error, and I just deleted the node_modules folder and reinstalled node modules that worked for me. You should try.

1 like
afoysal's avatar

@Nihir Thanks. Should I run npm install after deleteing the node_modules folder ?

Please or to participate in this conversation.