0
I am unable to execute js code through VS code.
Using the recommendation of a post installed the Code Runner using the Control+Alt+N or F1. Always had the following message :
[Running] Node "c: Users thiag Onedrive Documents Udemy Development-Web-udemy Section 8 - Javascript 163 - activities-to-fix-the-content 1.js" 'Node' is not recognized as an Internal or External command, operable program or batch file.
[Done] exited with code=1 in 0.207 Seconds
So I installed the Quokka.js. The above message was replayed and the code was not executed.
Can someone help me ?
Code :
console.log('Teste')
I didn’t understand it very well, but if you create an html file that calls or runs this file in the browser, it wouldn’t solve you?
– Edward Ramos
Yes, but the wish was to run straight in vs code.
– Thiago Soares Mota
Maybe this link will help you: https://stackoverflow.com/questions/31778413/run-javascript-in-visual-studio-code
– Edward Ramos
It was one of the links I left in the question. I’ve read this post.
– Thiago Soares Mota