NPM run * doesn't do anything

后端 未结 2 1420
萌比男神i
萌比男神i 2020-11-22 13:11

I was running an Electron project, and everything worked just fine. But now when I run any of the scripts in my package.json (including npm start), it just escapes a line an

2条回答
  •  悲&欢浪女
    2020-11-22 13:53

    If you are using an integrated terminal (such as the VsCode integrated terminal) try running your npm "run dev' command from your PowerShell (or cmd) terminal. This error arises as a result of your integrated terminal not recognizing your command (especially if you created your app with a git bash terminal).

    Try this, and I hope it helps someone cause it always works for me. Cheers!!!

提交回复
热议问题