Difference between revisions of "Setup:Installation Manual/Services and system configuration/Node.js"
← Setup:Installation Manual/Services and system configuration/Node.js
[unchecked revision] | [quality revision] |
(Tag: Visual edit) |
System requirements[edit | edit source]
The installation of Node.js under Windows can be done via Git. Alternatively, the installation package can be obtained directly from NodeJS.
During the installation you have to make sure to install the Node Packet Manager NPM as well.
Under Debian/Ubuntu Nodejs and NPM can be installed as follows:
apt install npm npm -g install npm@latest
Download Node.js for Windows[edit | edit source]
Download the current package of Node.js from the Project website. Please use the 64bit version if possible.
Installation of Node.js[edit | edit source]
Install Node.js into the \bluespice\bin\nodejs folder using the default settings of the installer. When selecting this folder, be sure to pay attention to our instructions on the page Folder Structure under Windows page, which we apply in this complete installation manual.
Open a console with administrator rights and change to the installation directory of NodeJS (usually C:\Program Files (x86)\nodejs). Execute the following commands there:
npm install --global --production windows-build-tools npm -g install npm@latest
{{DISPLAYTITLE:Installation of Node.js}} __TOC__ ==System requirements== The installation of Node.js under Windows can be done via [[Setup:Installation Manual/Services/Git|Git]]. Alternatively, the installation package can be obtained directly from [https://nodejs.org NodeJS].<br>During the installation you have to make sure to install the Node Packet Manager NPM as well. Under Debian/Ubuntu Nodejs and NPM can be installed as follows: apt install npm npm -g install npm@latest ==Download Node.js for Windows== Download the current package of Node.js from the [https://nodejs.org/en/download/ Project website]. Please use the 64bit version if possible. ==Installation of Node.js== Install Node.js into the ''\bluespice\bin\nodejs'' folder using the default settings of the installer. When selecting this folder, be sure to pay attention to our instructions on the Folder Structure under Windows pagepage [[Setup:Installation_Manual/Advanced/Folder_structure_under_Windows|Folder Structure under Windows]], which we apply in this complete installation manual. Open a console with administrator rights and change to the installation directory of NodeJS (usually C:\Program Files (x86)\nodejs). Execute the following commands there: npm install --global --production windows-build-tools npm -g install npm@latest
Line 13: | Line 13: | ||
==Installation of Node.js== | ==Installation of Node.js== | ||
− | Install Node.js into the ''\bluespice\bin\nodejs'' folder using the default settings of the installer. When selecting this folder, be sure to pay attention to our instructions on the Folder Structure under Windows | + | Install Node.js into the ''\bluespice\bin\nodejs'' folder using the default settings of the installer. When selecting this folder, be sure to pay attention to our instructions on the page [[Setup:Installation_Manual/Advanced/Folder_structure_under_Windows|Folder Structure under Windows]], which we apply in this complete installation manual. |
Open a console with administrator rights and change to the installation directory of NodeJS (usually C:\Program Files (x86)\nodejs). Execute the following commands there: | Open a console with administrator rights and change to the installation directory of NodeJS (usually C:\Program Files (x86)\nodejs). Execute the following commands there: | ||
npm install --global --production windows-build-tools | npm install --global --production windows-build-tools | ||
npm -g install npm@latest | npm -g install npm@latest |