Closed mals14 closed 3 years ago
I don't know how to solve your issue but if you haven't solved it yet ... I have used an alternative approach. I have a repo where I paste the code examples and play with it. It doesn't run tests on exercises but I'm getting far more learning from playing with the code exercises. here is the repo I'm using
I'm using the command line npx terminal-playgroung to run js/ts code on the fly
I'm using the command line npx terminal-playgroung to run js/ts code on the fly
@davidnussio thank you for replying! I will read about npx and how it is used.
And thanks @klequis - will look at your repository as well.
I followed the instructions to setup a Mac to run the exercises.
Then I opened the folder "mostly-adequate-guide" in VS Code.
From inside VS Code, opened exercises/ch04/exercises_a.js Then modified the file to be
Now I am not able to run this file from the terminal inside of VS Code. Error as below. Node version installed is v16.0.0.
Neither am I able to run this program using VS Code "Run and Debug" which is what I would ideally like to do. The launch.json file in VS Code is as follows
Thank you for reading.