Create-react-app on server (Ubuntu 18.04)


How can I implement an React app on Ubuntu 18.04 on Node environment?(step-by step)

this is not work:

Please see this topic:

How to ask good questions (and get good answers)

why doesn’t it work? Do you get an error? If so, what is the error?

setups can be difficult, you need might need to figure certain things out, read about things, gain understanding

Digital Ocean: How To Install Node.js on Ubuntu 18.04 (
sudo apt update
sudo apt install nodejs
sudo apt install npm
nodejs -v
Codecademy: Creating a React App(
npm install -g create-react-app
create-react-app something

Not help:
npm cache clean --force
npm update

The solution:

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.