Solution : Change "\" into "/"
As you see, I uploaded my local codes to aws( ubuntu )..... I guess
And As I ran server by "npm run backend" which is the way I ran server in VSC, Following Error occurs
https://github.com/facebook/create-react-app/issues/200
I was trying below 3 lines of code
$ npm install -g npm@latest # or, npm install -g npm@latest --prefix "C:\Program Files\nodejs"
$ rm -rf node_modules # or, `cmd /c rmdir /s /q node_modules` on Windows
$ npm install
I tried 1st line...
But Then, following error appears
What is "root/Administer..?"
I restarted git.bash by running as "Administrator" ( 관리자 실행 ) and ran the same processes
BUt Same Error occurs
...fuck....
https://wrjeoung.tistory.com/30
Still not working
https://www.youtube.com/watch?v=WxhFq64FQzA
I tried 1st line, and then "make" but
Follwing Error occured
I'm trying to install node js 7.4.0 on my ubuntu 18.04. and ./configure works correctly. the problem is in “make” command
https://www.youtube.com/watch?v=Eh-u9CarXmA
By adding below code after "nvm install node"
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT -- to-ports 4000
( 4000 has to be set as port we are using in our project )
I seemed working
But, You need additional work, which is revising Inbound Rule in "EC2" to open to port we are using
$ ssh -i C:/Users/user/Desktop/Dance_Project_HD/git_home/UbuntuKey/limhandong.pem ubuntu@13.
20 9.6.115
ssh: connect to host 13.0.0.20 port 22: Connection timed out
I thought this problem was related with "Inbound Rule in EC2"
You have to allow access from "port 22"
WHY?
because what I was doing was creating mongodb in Linux,
which is creating totally new mongodb and I am giving admin to this DB. ( setting ID and PWD)
BUT,,, I was keep confronting errors......
And I thought....WHy Do I have to do this when I already have existing mongoDB ... ???
That is why I Skipped This processs.
( change "python app.py" to "npm run backend")