Failed to compile
rohanvivek opened this issue · 3 comments
hey,
Thanks for the tutorial on YT.
I'm facing an error called
"Failed to compile
./src/components/screens/signup.js
Line 35:11: Unexpected use of 'history' no-restricted-globals
Search for the keywords to learn more about each error."
can you help?
Hey Rohan, could you please elaborate the issue because i am not getting any kind of errors especially what you have mentioned.
Thanks Buddy
I did whole project with localhost and working fine.
But I cant deploy to the heroku.
I got Not Found in heroku page.
I followed same instructions but I got error in heroku logs is given below.
Error: ENOENT: no such file or directory, stat '/app/client/build/index.html'
please help me Sir... I cant resolve this error.
I put my efforts with you to complete this project but at last step I got this error.
I did whole project with localhost and working fine.
But I cant deploy to the heroku.
I got Not Found in heroku page.
I followed same instructions but I got error in heroku logs is given below.
Error: ENOENT: no such file or directory, stat '/app/client/build/index.html'
please help me Sir... I cant resolve this error.
I put my efforts with you to complete this project but at last step I got this error.
PS: Solved Issue, I forgot to type run in packege.json file of server
I wrote "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm build --prefix client"
instead of this.
"NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client"
See the "run" keyword at "npm run build --prefix client"