node 썸네일형 리스트형 Set the global path of Nodejs Set below at the end of .bashrc file # Node global path export NODE_PATH="`npm root -g`:`yarn global dir`/node_modules" 더보기 set default nodejs version on nvm for use - nvm use [version name] set default - nvm alias default [version name] defaults to the latest node version - nvm alias default node run with specific version - nvm exec [version name] node [js file] 더보기 Install ReactJS Requirement :- nodejs- npm- yarn * install nvm(see link)install NVM * install yarn (centos)]$ sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo]$ sudo yum install yarn * install Create React APP]$ npm install -g create-react-app * create project (Transforming tool. using WebPack more details)https://github.com/facebook/create-react-app ]$ create-react-app [app-name]]$ .. 더보기 이전 1 2 다음