Yonatan Lehman
Yonatan Lehman

Reputation: 89

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.

Upvotes: 3

Views: 7805

Answers (1)

user12981165
user12981165

Reputation: 29

Try closing and reopening the project

Upvotes: 2

Related Questions