WebStorm - error: Please specify npm package

后端 未结 12 2454
忘掉有多难
忘掉有多难 2020-12-29 06:53

Webstorm throws an error when trying to run a command specified in package.json:

\"devDependencies\": {},
      \"scripts\": {
        \"dev\": \"./node_modu         


        
12条回答
  •  天命终不由人
    2020-12-29 07:31

    In my case ubuntu 18.04+PHPSTORM Helps this:

    apt-get remove nodejs
    apt-get remove npm
    

    Using Ubuntu

    curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
    sudo apt-get install -y nodejs
    

提交回复
热议问题