I've been doing command line development of node.js on my Mac OSX El Capitan machine for a bit but wanted to try an IDE. I loaded Eclipse Mars and added the Enide Studio 2015 from the marketplace.
Created both a example project and an express generator project but I can't seem to get them to run in either the debugger mode or run mode.
When I run debugger mode, it seem to run and shows in the console that it is running but when I go to http://localhost:5858/ I get a browser that only shows:
Type: connect
V8-Version: 4.6.85.28
Protocol-Version: 1
Embedding-Host: node v5.0.0
Content-Length: 0
Any ideas?
In package.json what script is execute for start ?
Then right-click that script.js
and Run as -> Node application
or Debug as -> Node application
npm does not have parameters to launch in debug mode
Related
I have been trying to install Node.js on my Windows 11 laptop. Everything seems to go fine. But while installing the build tools, it seems like it is unable to detect any supported Visual Studio Product.
Here is what the error I have been facing:
ERROR: Unable to detect any supported Visual Studio product. You may try passing --installPath or both --productId and --channelId parameters.
The upgrade of visualstudio2019-workload-vctools was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019-workload-vctools\tools\ChocolateyInstall.ps1'.
See log for details.
**Failures
visualstudio2019-workload-vctools (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019-workload-vctools\tools\ChocolateyInstall.ps1'.
See log for details.
visualstudio2019buildtools (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'.
See log for details.**
Since I am new with it, I haven't tried anything yet.
Also, Node.js commands are running fine on Command Prompt. But it doesn't work when I try it out in the VSCode Terminal.
I am planning to detect the electron version of the vscode from node.js or command prompt.
I know from vscode we can get the electron version by running this command(process.versions.electron) in developer tools. But how can we get it from node.js application or from command prompt?
Thanks,
Akhil
find the path of vscode and read the package.json file:
example:
C:\Program Files\Microsoft VS Code\resources\app\package.json
there you will find the version in the devDependencies object
I installed node, bash and Visual studio Code on my windows 10 environment laptop.
I'm able to successfully run bash --version and node --version from the command line
but when I try to run the JavaScript file with the following command code object.js, I get the following error
bash: code: command not found
Any idea what I can do to get this working in visual studio code?
I have already installed Node.js and I am able to run my existing project in Visual Studio or Sublime Text and terminal in Visual Studio is working perfectly fine.
But when I am trying to run the same project in WebStorm then terminal is not recognizing node, npm n all.
May be some setting is missing in WebStorm. Need help to resolve the same.
In WebStorm | Preferences for macOS, and click Node.js and NPM under Languages & Frameworks
The term local Node.js interpreter denotes a Node.js installation on your computer. You must write your local path for Node.js
I have done fresh installation of Visual Studio 2013 - update 3 and have installed Visual studio 2013 MDA (Multi Device Application), and also have installed setup for Node js..
But when I create New Hybrid - Application project it shows me an error of "Node.js cannot be found"
Please help me..
You need to have NodeJS installed on your system.
Get the installer from this page: http://nodejs.org/download/
After installation you should also check if node command is usable the command line (cmd).
If it's not available you will need to manually add NodeJS to your path.