Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why am I getting "Unable to resolve non-existing file" when running javascript - the file exists

When I get an error when running a javascript program in VSC (version 1.51.1 win10)

In the debugger page I get

    /c/Users/yonatanlehman/Documents/apigen/tools

file:///c:/Users/yonatanlehman/Documents/apigen/tools/src/methoddef.js:10

and when I click on the link to the file I get a dialog with

Unable to open 'methoddef.js:10': Unable to read file 'c:\Users\yonatanlehman\Documents\apigen\tools\src\methoddef.js:10'

(Error: Unable to resolve non-existing file 'c:\Users\yonatanlehman\Documents\apigen\tools\src\methoddef.js:10').

But the filepath is correct!

This started out of the blue - not sure what changed.

like image 805
Yonatan Lehman Avatar asked Oct 30 '25 22:10

Yonatan Lehman


1 Answers

Try closing and reopening the project

like image 68
user12981165 Avatar answered Nov 02 '25 11:11

user12981165



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!