Error: ENOENT: no such file or directory in visual studio code

Viewed 3527

I am facing the problem while creating edge solution in visual studio code. Its showing below the error

Error: ENOENT: no such file or directory, lstat 'c:\Users\#########\.vscode\extensions\vsciot-vscode.azure-iot-edge-1.24.1\assets\solution\.gitignore'

Anyone has any idea what is wrong happening here?

1 Answers

it means that the folder does not have a .gitignore file inside, navigate to that folder and create a .gitignore file and add config/ to it, save the file, reload the vs-code window and it should work, hope this helps

Related