Wednesday, February 11, 2015

NodeBot error resolving

This post is for error resolving steps which described in this POST.

Step 2 Errors

npm is not recognized

  • Right Click on the windows button.
  • Select System
  • Click advanced system settings in the left side
  • Go to Advanced tab
  • Click the environment Variables button
  • In here you will get a window with two sections. (User variables for and System variables)
  • In system variables you can see 2 column table.
  • find the row which has PATH in  varibale column.
  • Select it and press Edit button.
  • In here you will get a small window.
  • Add the following line in the end of the current data for the 2nd TEXTBOX. ;C:\Program Files\nodejs\
  • This is the same directory where your nodejs is installed.
  • Press Ok. on every windows.



Error: ENOENT, stat 'C:\Users\User1\AppData\Roaming\npm


  • Create folder called npm in the given path(Path which comes with the error)
  • Note:- Some times Appdata folder maybe hidden.
  • You have to click the Show hidden folders radio button in folder option window in windows.



Step 4 Errors

When you install maybe you will ask for the permission to write in folder.


  • Click continue.


Step 5 Errors

program exit with errors of TIMEOUT.


  • This is because the first port in the list does not belongs to the arduino.
  • So you have to go to the device manager and under port section you have to uninstall some ports.
  • You need only uninstall the ports those are list before the arduino's com port.
  • Example in command line port list shown in error is COM2 COM5 COM3 COM7
  • And com 3 is for the arduino board.
  • Then simply right click in COM2 line in the device manager window and click uninstall.
  • Do the same for thr COM 5 


Note:- you no need to do it for the COM7

No comments:

Post a Comment