Note:You don't need to install nodejs and plugins on TimyNote 1.0.4 or newer versions.


When you click "install-plugins" in the TimyNote installation directory and an error occurs, it may be due to the Nodejs installation directory are not added to the environment variable. The following is the steps to add NodeJS path to the environment variable.


Windows

Step 1:

First, test whether the NodeJS installation directory has been added to the path environment variable.

Press the Win + R, input "cmd" and press Enter to open the cmd command line window.

Enter "npm -v". If a version number appears, it means that the npm command is available and has been added to the environment variable. If not, please see Step 2.

Step 2

  1. Right-click "This PC", click "Properties" → "Advanced system settings" → "Environment Variables" in sequence to enter the "system environment variable" configuration.
  2. Alternative method: Press the Windows key → Enter "path" on the keyboard, and click "Edit environment variables" in the popped-up list (this seems simpler).
  3. Add the installation directory of NodeJS (generally C:\Program Files\nodejs) to the "Path" variable.
  4. Close the previous cmd window and reopen it.


macOS

Step 1:

Test whether the NodeJS installation path has been added to the path environment variable.

  1. Open the terminal window (the black one).
  2. Enter "npm -v". If a version number appears, it means that the npm command is available and has been added to the environment variable. If not, please see Step 2.

Step 2

Open.bash_profile or.zshrc in the user's home directory, i.e., ~/ directory, and add the following command to the end of the file and save it.

PATH=$PATH:/usr/local/bin/


Linux

For the Linux system, actually execute the BASH command in the terminal:

export PATH=$PATH:/usr/local/nodejs/bin