1

I started learning coding in javascript. Wanted to practise my skills using visual studio code but I cannot run the code (to test if it works). Ive spent many hours browsing google to find the setting, but so far I got to this jsconfig.json thing, placed it in my folder where other .js files are, but the .js file with my practice code still doesnt run. I right click in the field with javascript code, press run the code and it still doesnt run. I guess I am still missing something. Would you be so kind to please advice me step by step what to do?enter image description here

12
  • 3
    Have you installed node.js and have you set it up in the user's path variable? The exception clearly says node: command not found Commented Jan 10, 2021 at 14:48
  • 1
    Seems, you don't have a valid nodejs installation Commented Jan 10, 2021 at 14:48
  • You should read How to Ask. In particular the section starting "DO NOT post images of code, data, error messages, etc. -" Commented Jan 10, 2021 at 14:48
  • Does this answer your question? Run JavaScript in Visual Studio Code Commented Jan 10, 2021 at 14:50
  • @Alena : Welcome to stackoverflow. Kindly follow the advice of MR Quentin. Also, try node test1.js . GOD BLESS Commented Jan 10, 2021 at 14:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.