WebStorm错误。无法安装Node.js模块:请指定默认的Node.js解释器。

问题描述 投票:1回答:1

当我点击 Install 'mdbvue'

enter image description here

在WebStorm中出现以下错误。

enter image description here

我看了这个 它说我必须设置正确的运行配置。

于是我用 which node 在终端中。

enter image description here

然后,我把npm和Node.js的RunDebug配置中的路径改成:

enter image description here

但还是不行

我到底做错了什么?

node.js linux vue.js intellij-idea webstorm
1个回答
0
投票

修正package.json解决了这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.