Skip to main content

Did Node.js Misbehave in Your Windows?

It appears to. But hold it: Is it node.js at fault or your good self?

Its probably you, dear earthling. yet again, you got mixed up and now, when you type
> node main.js,

it rudely answers:

'node' is not recognized as an internal or external command !

After going all over and getting excruciatingly detailed help on how to set up a PATH statement in Windows (as if you were a students of Computer 101), you are ready to pull out all your (remaining?) hair (its actually easier to cut by the way, and less painful).

However, check this most simple possibility: You clicked the wrong button during your installation.

Watch and learn:

1. Step 1: Download the 32bit or 64bit node.js installer file
2. Launch the installer and you get the following:


3. Problems may occur in the next screens that looks like this:


4. If you click on the little arrow in each button, its important to read the options offered as illustrated below:

  The options are:
  • Will be installed on local hard drive
  • Entire feature will be installed on local hard drive [preferred choice]
  • Feature will be installed when required [trouble!!]
 The options in the screen blow are more expansive but note that the safest options is still: Entire feature will be installed on local hard drive


 5. If you chose "Feature will be installed when required" you are looking for serious trouble because Windows is very unlikely to do as promised - it will NOT install the features when required, therefore,  node.exe will be absent and hence the message "'node' is not recognized as an internal or external command !"

It's that simple.

 So much hair lost for so little... But who to blame except your selves for not carefully studying the  options?

Therefore, if you have this frustrating problem reinstall node.js  and carefully observe the commandments.

Surely much hair will be saved - from being uprooted that is, not from  the fires and worms of the valley of Ben Hinnom: that's an entirely separate matter.

Bon Voyage, mes frères et mes sœurs


Comments

Popular posts from this blog

Acer Aspire V5-471 Solution to "Operating System Not Found" After Changing From UEFI to BIOS

If you deliberately or accidentally change an Acer Aspire V5-471 (probably other Acers as well) boot setting from UEFI to BIOS, then you may be in for a shock when you try to start the laptop.

You may get the message Operating System Not Found on the top left corner of your screen or something similar.

Ideally you can press F2 during booting and get into booting settings and change them but in my case F2 does not work! Nothing works - neither a bootable DVD, bootable USB drive or whatever else you throw at it to try to get the machine to wake from coma.

You could spend a year searching various forums. You will learn very little. Some will call you dumb for messing up your BIOS settings.

The answer came from a very smart guy from Nakuru, Kenya called Weru (it means Savannah as in Savannah Institute for Business and Informatics). Open the machine's casing. Pull out the motherboard. Remove the BIOS button battery.


In the laptop motherboard above, the battery in the round whitish obj…

How to Install RIOT Plugin for GIMP

How to Install RIOT Plugin for GIMP:: Since this article was first written a stand-alone version of RIOT has been made available Download the plugin from  http://luci.criosweb.ro/riot/download/Select the download link titled "RIOT as plug-in for other applications"   Launch the Riot-plugin.exe file by double clicking.The installer installs all the files including Riot.exe, Riot.dll, and FreeImage.dll in the location where you installed GIMP  If GIMP is open, close it and re-launch it.To optimise an image, open it then save with menu File->Save for web with RIOT  You can set the target file size by selecting "Compress to size" button  on bottom right corner of optimised image pane and providing the size in kilobytes. Alternatively you can use a slider provided to allow you to change the quality while showing you a preview of the resulting image.


Enjoy.

How to Stream Live With Your Smartphone

Using Larix Broadcaster , you can stream live video and audio from a smartphone running Android, IOS or Windows. The steps are:
Download and install Larix from the link above.Configure LarixTest with the streaming server provided by whomever is hosting your live streamWhen requested, start sending your stream.
Before giving details explanations of how to configure Larix, its important to note one of two things about the stream:
Many people may be watching worldwide and its important to test and then, during the live stream, ensure only acceptable video and audio are sent to the server. The Larix website illustrates the connection between your phone, server and the viewer devices. Clear video requires planning your shot - from which direction? is the lighting good? will bright lights interfere? Is there traffic noise or other interference.Maintain your smartphone in  landscape orientationIf more than one person are to stream to the same server, be on standby and start your stream promptly…