Install
How to Install NodeJS on CentOS 8 > Option 2 — Installing Node Using the Node Version Manager
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-centos-8
NVM, Node Version Manager
https://github.com/nvm-sh/nvm
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash # cat ~/.zshrc | last export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm list-remote nvm install v18.15.0 nvm list nvm use v18.15.0 node --version
create-react-app
# npx create-react-app new_app # cd new_app # tree # find . | grep -v node_modules ./.gitignore ./package-lock.json ./package.json ./public ./public/favicon.ico ./public/index.html ./public/logo192.png ./public/logo512.png ./public/manifest.json ./public/robots.txt ./README.md ./src ./src/App.css ./src/App.js ./src/App.test.js ./src/index.css ./src/index.js ./src/logo.svg ./src/reportWebVitals.js ./src/setupTests.js
{ "name": "new_app", "version": "0.1.0", "private": true, "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", ...
ERR_OSSL_EVP_UNSUPPORTED
# npm start Starting the development server... ... Error: ... opensslErrorStack: ... code: 'ERR_OSSL_EVP_UNSUPPORTED' # NODE_OPTIONS=--openssl-legacy-provider npm start
개발환경
라이브러리
Material UI
기타
https://www.geeksforgeeks.org/how-to-create-a-multi-page-website-using-react-js/