robertludlum
New Member
- Joined
- Sep 21, 2025
- Messages
- 2
- Thread Author
- #1
So I fjust installed VSC and it led me to an intro video on MSDN (I think). I followed the example and typed out the following four cosnole.log commands. But on running, all I get in the terminal window is the folder path:
console.log("------------------------------");
console.log("Rise and Shine!");
console.log("Ready for a new day?");
console.log("------------------------------");
The error I receive is "Cannot find node.js binary. [pathname] path does not exist. Make sure node.js is installed and in your path or set the "runtimeExecutable" in your launch.json. Open launch.json?
Opening launch.json reveals:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}",
"runtimeExecutable": "C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules\debug\src"
}
]
}
How should I fix this error?
console.log("------------------------------");
console.log("Rise and Shine!");
console.log("Ready for a new day?");
console.log("------------------------------");
The error I receive is "Cannot find node.js binary. [pathname] path does not exist. Make sure node.js is installed and in your path or set the "runtimeExecutable" in your launch.json. Open launch.json?
Opening launch.json reveals:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}",
"runtimeExecutable": "C:\Users\user\AppData\Local\Programs\Microsoft VS Code\resources\app\node_modules\debug\src"
}
]
}
How should I fix this error?