1. 程式人生 > >WebStorm執行Node.js檔案報錯:runnerw.exe: CreateProcess failed with error 2

WebStorm執行Node.js檔案報錯:runnerw.exe: CreateProcess failed with error 2

  1. 點選工具欄的 Run —> Edit Configurations…

    圖1

  2. 可以看到我這裡是 Node interpreter 的路徑錯了

    這裡寫圖片描述

  3. 選擇一個正確的路徑即可

    這裡寫圖片描述

注意:也有可能是另一個地方錯了,解決方法如下

File —> settings —> Languages & Frameworks —> Node.js and NPM

然後在右邊選擇正確的 Node interpreter 的路徑

這裡寫圖片描述

相關推薦

WebStorm執行Node.js檔案runnerw.exe: CreateProcess failed with error 2

點選工具欄的 Run —> Edit Configurations… 可以看到我這裡是 Node interpreter 的路徑錯了 選擇一個正確的路徑即可 注意:也有可能是另一

go語言 包名正確,但是執行之後仍然runnerw.exe: CreateProcess failed with error 216 (no message available)錯誤

昨天博主在用idea+go外掛學習go語言時,下載第三方外掛goimports,使用其裡面內建的Sparse方法,執行程式之後,報了“runnerw.exe: CreateProcess failed with error 216 (no message available)

使用video.js檔案Failed to load resource: net::ERR_FILE_NOT_FOUND的解決辦法

使用video.js檔案報錯: file://www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=UA-16505296-2&u…Fexample.html&utmcc=__utma%3D1.5

Linux - Ubuntu下執行apt-get updateSome index files failed to download. They have been ignored, or old ones used instead.

報錯命令 root@ubuntu:/etc/apt# apt-get update Err:1 http://mirrors.aliyun.com/ubuntu trusty InRelease Could not resolve 'mirrors.aliyun.com' Err:2 http://mi

python pip安裝python setup.py egg_info failed with error code 1

setup all get setup.py target pip升級 升級 col python版本 安裝locust遇到點問題折騰了好一會兒,記錄一下。 使用命令pip install locustio提示python setup.py egg_info failed

程式小白python入門--解決win10 安裝pygamepython setup.py egg_info" failed with error code 1

一經過快一學期的python學習,對程式設計有了初步的認識和了解。礙於課時原因,學到的內容比較粗淺,課下練習的時間不夠。二老師佈置了期末作業,之前做了一個I身體健康指數測量的程式,可是不是很滿意,除了密碼登陸模組和ibm指數幾乎沒有亮點。於是決定寫個小遊戲。安裝pygame包

mac終端下執行java檔案找不到或無法載入主類

由面試題出來的 為了顯示 myStr = 23 這樣的結果,寫出在控制檯輸入的命令 public class MyClass { public static void main(String args[]) { String s1 = args[0]; String s2 = args[

使用nohup執行python檔案Import error: No module named XXX等

最近在用linux跑神經網路模型,由於跑一輪時間比較長,而且網路不穩定Xshell容易斷開,所以需要使用nohup執行python檔案,但是遇到了問題。在linux下可以直接使用python test.py執行的檔案,使用nohup python test.py就會報錯,報的

Linux執行source /etc/profilecommand not found”

命令 csdn brush linux not etc highlight 可用 class 修改完 /etc/profile中的內容後,執行“立即生效”命令 “source /etc/profile”報錯: :command not found :command not

pymysql多執行緒訪問資料庫Packet sequence number wrong - got 7 expected 2

原文:https://www.cnblogs.com/heiao10duan/p/9373237.html 參考:https://www.jianshu.com/p/60c8e0e440ea 原因: 使用了多執行緒,多執行緒共享了同一個資料庫連線,但每個execute前沒有加上互斥鎖

sshclient上傳檔案encountered 1 errors during the transfer解決方法

encountered 1 errors during the transfer解決方案: 1.檢視要檔案目錄許可權,當前使用者對要上傳檔案的目錄 要有rwx許可權; 2.把伺服器上同名檔案先備份在上傳; 3.如果檔案在桌面上上傳不了,將要上傳的檔案複製到其它分割槽,再上

【Mac + Appium】之執行[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null

產生下面的原因是因為:與uiautomator2的weditor衝突,兩者不能同事使用。 有事開啟appium時會報錯: [UiAutomator] UiAutomator exited unexpectedly with code 0, signal null 經查詢有以下兩個方案: ①《UiAut

連線私服倉庫maven的pom檔案Project build error: Non-resolvable parent POM

配置了私服maven倉庫,在內網160伺服器上,修改了maven配置檔案。下載了一個專案,pom檔案報錯 問題如圖:         將<version>1.5.13.RELEASE</version>改成<version

解決Go上傳檔案找不到Boundary的問題

最近要做一個元件,即接收客戶端的請求,經過一系列的封裝,將請求傳送給真正的服務端器。可以理解為:客戶端使用Http的Request的Body儲存檔案流,將Request傳送給伺服器。遇到一個問題:傳入的是一個檔案控制代碼File,需要轉換成byte[]存到request的body中,但是發現boun

tf.app.run() 執行結束時,SystemExit exception: no description

  環境:Python3.6.6 + tensorflow-gpu 原始碼如下: import tensorflow as tf def main(): print("hello tf.app.run") if __name__ == '__main__': tf.a

關於springboot上傳檔案The temporary upload location ***is not valid

  在執行springboot時 ,長時間執行後報錯 the temporary uplaod location *** is not valid  查過資料後發現是centos對‘/temp’下檔案自動清理的原因。  在springboot專案啟動後 系統會在‘/temp’目

【坑】【maven】在PowerShell視窗下執行maven命令列Unknown lifecycle phase ".test.skip=true".

在PowerShell視窗下執行maven命令列報錯:Unknown lifecycle phase “.test.skip=true”. 不說廢話,先展示錯誤資訊 解決方法 方法一 命令改為:mvn clean install package '-Dmaven.test.skip=t

【轉載】讀取txt檔案UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 0

python在open讀取txt檔案時,出現UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xc8 in position 0: invalid continuation byte報錯 解決辦法有二: ①把編碼方式utf-8

eclipse執行專案,tomcatException in thread :http-bio-8080-exec-4

原文地址:https://www.cnblogs.com/yby-blogs/p/6283105.html   今天用eclipse開發專案後,新建一個tomcat的server,然後新增專案後啟動,利用火狐瀏覽器進行訪問一直報記憶體溢位: Exception in threa

Windows64環境中執行pip install flaskCannot fetch index base URL http://pypi.python.prg/simple/

最近在學習Python的Flask框架,安裝flask是使用pip install flask命令,執行出錯:Cannot fetch index base URL http://pypi.python.prg/simple/ 看報錯資訊,以為是什麼配置檔案的引數U