Answer a question

Not sure how this problem specifically occurred. I've been doing some googling trying to narrow down what exactly is going wrong as my project was fine a few days ago. When i attempt to debug my VSCODE project i'm presented with this error.

enter image description here

this is a picture of my launch.json file:

enter image description here

Also, this an error if it helps displayed in the debug console.

enter image description here

Things i've tried so far,

  1. Rebooting the computer

  2. Uninstalling and Reinstalling VSCODE as well as disabling extensions

  3. Creating a new VSCODE Project to attempt to debug

  4. Deleting the launch.json file and creating a new one

Answers

After spending some time debugging I solved this problem by simply installing npm packages, I executed command npm i

Just make sure that your npm packages are all installed and none is failing.

Hopefully this helps you or someone with the same issue.

Logo

开发云社区提供前沿行业资讯和优质的学习知识,同时提供优质稳定、价格优惠的云主机、数据库、网络、云储存等云服务产品

更多推荐