3

When I click on Install 'mdbvue'

enter image description here

the following error appears in WebStorm:

enter image description here

I looked at this thread and it says that I have to set the right Run Configurations.

So I checked the path to node using which node in the terminal:

enter image description here

Then, I changed the path in the Run/Debug Configurations for npm and Node.js to:

enter image description here

But it still doesn't work.

What am I doing wrong?

2
  • 1
    not sure, but your package.json looks wrong. fixing that might help Commented Jan 27, 2020 at 23:54
  • @KeithNicholas Thanks, it works now :) Commented Jan 27, 2020 at 23:58

2 Answers 2

5

Go Webstorm preferences (CMD + , on mac), then choose node.js and npm choose the node version that is installed on ur machine. I have NVM, so I choose version that are installed using NVM (easy to manage different node versions)

enter image description here

-2

Fixing the package.json solved the issue

1
  • what was the issue that you solved?
    – ksadjad
    Commented Feb 14, 2022 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.