Getting Node to work on windows 7 enterprise - node.js

For the better part of a day now I've been trying to get node.js to work on my computer.
Even though I get no errors during installation, whenever i try to run node or npm from the command line I only get the error "Evented I/O for V8 JavaScript has stopped working" and then nothing happens.
I really have no clue why it isn't working and what I have to do to get it to work! Has anyone else ever had the same problem and were you able to fix it somehow?

It seems the problem was with ansicon which I installed together with cucumber.
I was able to fix the problem by running "ansicon -u" in my x64 folder

Related

''node' is not recognized as an internal or external command,' in vscode

I'm working on setting up the Suitecloud Development Framework in the NetSuite instance for my company. I've installed Node v16.13.0, npm 8.1.0, and suitecloud 1.3.1.
Running node -v, npm -v, etc. all works from cmd but will throw a not recognized error when I use the terminal in VSCode.
I can get my VSCode to identify node with
SET PATH=C:\Program Files\Nodejs;%PATH%
but this only fixes it for the session and still doesn't give me access to run anything from suitecloud.
I've checked my Environment Variables as per every other help section I've found for this issue but I have 'C:\Program Files\nodejs' in both my user PATH variable any my system PATH variable.
I've tried running VSCode as Admin on the off chance that would fix it, but that didn't solve anything either.
Thank you for your time, hopefully I'm overlooking something simple due to my inexperience with the terminal.
Leaving VSCode overnight and then rebooting seems to have fixed it. I can't explain why, but if you're encountering the same issue I recommend walking away and coming back to it after a long delay.

When I try to execute 'npx create-next-app', the installation never ends

I'm trying to create a new NextJS app, but the command npx create-next-app <name> never ends. It installs a few files along the way (including node_modules/), then after a while, among all the great lines that a CMD shows, it displays an installation line that never ends. When I try to cancel the installation, I must restart my PC completely.
Note: the last line is always beginning with "reify:something: timing ... Completed in Xms"
My problem
I've tried to reinstall NodeJS, It did not change a single thing.
I've tried to delete the cache, nothing changed.
I have used npm in the past and it always worked fine, I have absolutely no idea why it doesn't work now.
Please help me, I don't know what to do, except to throw my PC out the window.
I'm on Windows 10, using npm 7.24.1 with node v14.17.6
Finally, I fixed my problem thanks to Marcel Herd: I installed WSL 2 and from now on I'll use Ubuntu on Windows to execute npm commands.
However, I have still no idea why I had to do such a thing...
Thank you
If you are interested, here are links that helped me:
https://learn.microsoft.com/en-us/windows/wsl/install
https://learn.microsoft.com/en-us/windows/wsl/setup/environment
https://learn.microsoft.com/fr-fr/windows/dev-environment/javascript/nodejs-on-wsl

I cannot run Gazebo and Rviz Due to Missing sdformat.dll and image_transport.dll

Hello there hope you are all well.
Few days ago I installed ROS on my Windows-10 computer by following the tutorials on their site. I worked with TurtleSim and some other features of ROS without any problem. However when I try to run Gazebo, I get an error saying sdformat.dll is missing. And when I try to run Rviz, I get an error saying image_transport.dll and resource_retriever.dll is missing. I tried updating ROS but it did no good. I asked about this on ROS' official answer site but no one responded. Is there any CMD command or chocolatey feature which I can use to repair missing files? If not, what can I do to resolve this error?
Thank you so much

Node isn't recognized

Referring to the above picture, can someone please tell my why my NPM script would continually fail saying that node is not recognized.
nodejs is clearly in my $PATH and it correctly identifies where it is on my computer outside of an npm script.
I am using Git Bash inside ConEMU on Windows Version 10.0.17134 Build 17134.
I wouldn't be surprised if the issue is with Windows, as the problem seems to have popped up since the latest OS update, installed just over a week ago (I've been having this issue for around that same amount of time)
I have finally got it working! It is, unsurprisingly, a Windows issue.. Because I had a few entries in my $PATH, and the nodejs one was at the end, Windows would silently fail when reading the entire path, and not get as far as the nodejs entry. The fix was to move the nodejs in the Environment Variables control panel to the very top

Meteor isn't working on Windows7 64 bit

I am just trying out Meteor on my Windows 7 enterprise 64 bit box. I installed it via MSI from http://win.meteor.com, rebooted the machine and in command prompt (administrator), did the following:
cd /d c:\var
meteor create testapp
(absolutely no response on console)
Then I insured that node.exe is working. I created a test.js with basic hello world example and it worked (I browsed to the localhost:xxx and was greeted).
node test.js
Then I went right into the meteor.js code, and upon encountering process.stderr.write inside fiber(...), I decided to call the same at the beginning of the file outside fiber.
process.stderr.write("outside fiber");
(this message got printed
; confirmed that there is a problem with fibers)
Now upon research, I stumble upon
npm test fibers
(output: Error: Test already-running.js failed.
code: -1073741819 ....)
Then I did
npm remove fibers
npm install fibers
However, the error with test fiber continues so does the absolute no-output from meteor command.
could anybody help? I'm out of options and this is my first attempt at meteor/nodejs.
I have discovered an issue with node fibers (on windows) and have a tentative fix - at least it fixed the problem for me, and I would be interested to see if that also fixes it for others.
Ultimately the problem was apparently sudden death due stack overflow and access violation. The root cause however was that the thread locals were not correctly being switched on a fiber switch.
Please see https://github.com/TomWij/meteor/issues/66#issuecomment-15994548 for details.
See related Stack Overflow question: Meteor on Windows: meteor command outputs nothing
You need to know that, by now, meteor dont officially support windows.
I can recommend you to try using virtualbox and a linux distro in a virtual machine.

Resources