You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a TypeScript React app with create-react-app and tried deploying it with gh-pages. I have set up an origin. The remote repo exists. I have been following this tutorial. Here's more detail:
$ npm run deploy
> [email protected] predeploy
> npm run build
> [email protected] build
> react-scripts build
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
46.57 kB build/static/js/main.0cb0ace7.js
1.78 kB build/static/js/787.dafb6d84.chunk.js
515 B build/static/css/main.f855e6bc.css
The project was built assuming it is hosted at /tic-tac-toes/.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
> [email protected] deploy
> gh-pages -d build -r https://github.com/its-mrarsikk/tic-tac-toes.git
Error: Failed to get remote.origin.url (task must either be run in a git repository with a configured origin remote or must be configured with the "repo" option).
at /run/media/marcel/Хранилище/Dev/Web/tictactoes/node_modules/gh-pages/lib/git.js:214:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
What to do now?
The text was updated successfully, but these errors were encountered:
I created a TypeScript React app with create-react-app and tried deploying it with gh-pages. I have set up an
origin
. The remote repo exists. I have been following this tutorial. Here's more detail:git remote -v
package.json scripts
I have also tried to force it with
-r
:Detailed output
What to do now?
The text was updated successfully, but these errors were encountered: