Hi! I’ve problem deploying my React app to the GitHub.
I was supporting myself this website: https://codeburst.io/deploy-react-to-github-pages-to-create-an-amazing-website-42d8b09cd4d
I installed ‘gh-pages’, modified package.json and now I have a problem with deploying the application.
Thanks for any help!
On console I wrote “npm run…”, so I’ve no idea what “nom” means.
That’s a complete log:
Could you please check the
package.json commands, please?
I saw that you typed
sudo npm run deploy
But the command associated with it was
nom run build. Check that
@Marmiz could you tell me please how to check it?
Open up your
package.json file, and check under the
You should have a
predeploy command, make sure the spelling is correct there.
run the command
deploy called a command called
predeploy that launched
nom run build.
At this point node stopped since he doesn’t know any command named
Thank you so so much, now it’s clear But still is not working.