Posts

Showing posts with the label nodejs

Installing CentOS7 NodeJS source compilation / v12.16.1 LTS

Image
0. Installation environment (g ++ 6.3.x) CentOS 7 has gcc version 4.8 installed by default.  However, nodejs build environment requires version 6.3 or higher. Please refer to the following link to install version 6.3. https://lucidmaj7.tistory.com/144   Installing CentOS7 GCC 6.x devtoolset-6 Installing CentOS7 GCC 6.x Installing GCC on CentOS 7 will install version 4.8.5.   In some cases, you may need to install a higher version.   The following is how to install GCC, G ++ 6.x version.   $ sudo yum install .. lucidmaj7.tistory.com   1. Download NodeJS source Connect to the NodeJS homepage and download the source of the LTS version using the wget command. https://nodejs.org/en/download/   Download |   Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org [root@localhost ~] # wget https: //nodejs.org/dist/v12.16.1/node-v12.16.1.tar.gz 2. Decompression Unzip ...

Building a Typescript development environment on macOS

Image
Building a Typescript development environment on macOS with NPM There are two ways to build the TypeScript development environment, one using Visual Studio and the other using the npm package manager. NodeJS Installation NodeJS must be installed prior to using npm. https://nodejs.org/en/ After installing NodeJS, run terminal and check whether nodeJS is properly installed using the node command. lucidmaj7@Wonheeui-MacBookPro ~ % node --version v12 .16 .0 lucidmaj7@Wonheeui-MacBookPro ~ % Check if npm is running normally. lucidmaj7@Wonheeui-MacBookPro ~ % npm Usage: npm <command> where <command> is one of: access, adduser, audit, bin, bugs, c, cache, ci, cit, clean-install, clean-install-test, completion, config, create, ddp, dedupe, deprecate, dist-tag, docs, doctor, edit, explore, fund, get, help, help-search, hook, i, init, install, install-ci-test, install-test, it, link, list, ln, login, logout, ls, org, outdated, owner, pack, pin...