score:0
i believe the issue was that i was not building correctly. after changing firebase.json to
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
and running npm build
, i deployed as expected.
Source: stackoverflow.com
Related Query
- Firebase and React hosting - not loading App.js
- TypeError: firebase.firestore is not a function in react js and firebase app
- React app not working with firebase hosting
- Create React App not installing, showing an error and aborting installation
- create react app not loading css background images in dev or build
- Breakpoints not working debugging React app in Chrome through Visual Studio Code on Windows 10 and WSL2
- how to share environment variables between react app and express js server hosting it as static site
- setupTests.js not loading automatically in CRA react app
- react-i18next not loading json translation files in React app created with create-react-app
- Nginx and Create React App (with React Router) full routes not working
- What is the best way to secure Firebase API keys in a react app so it is not accessible publicly?
- My react project not working after deploy to firebase hosting
- Why does my React app append the external URL to http://localhost:/<port> and not to ONLY the URL itself?
- webpack and react jsx - hot loading not working with docker container
- Firebase user.updateProfile({...}) not working in React App
- Memory leak in my React app because of firebase and how to avoid it?
- Creating react app using create-react-app is taking long time and is not successful
- Loading Sass and injecting CSS text into a parent document from a React app
- Unicode characters not showed when bundling and deploying React app with webpack and babel
- Firebase cloud messaging onMessage not triggered in React app even after message is sent
- Firebase auth and React Hook - returning function from hook not working
- Getting 403 Access Denied Errors When Hosting a React Router App in AWS S3 and CloudFront
- How to use sitemap in firebase hosting with react app
- React App Not Loading into The Packaged Electron App
- React Dev Tools not loading components and Events not firing
- React and Django website not loading on Heroku
- How to handle Firebase onAuthStateChanged in a React app and route users accordingly?
- Create react app with npx that uses classes and not hooks
- Absolute paths for React app on Github CI with Firebase hosting
- @font-face not loading in react app (storybook)
More Query from same tag
- Changing leaflet basemaps with react buttons
- How to parse json data in react native
- Get the Category ID of a button in React
- React - how map an array of objects and add a title without repeating and just showing each unique ttitle
- ForwardRef error in Chakra-ui when wrapping IconButton component
- why is my this.setState not updating the array
- Pass props locally with React-Router's #createElement
- Remove % sign according to condition in React
- Add elements in modal window
- Maintaining state and scroll position in react
- React Router + Redux + Transition group doesn't trigger special lifecycle hooks
- How do I ensure I won't replace a content to an old response?
- Accessing Apollo's loading boolean outside of Mutation component
- Redux: Create root reducer from combineReducers and "loose" properties
- How do I link to a URL outside of my app using the Link component of react-router?
- What is it for the "current" key in useRef hook?
- How to deal with unexpected props in TS React project?
- react TypeError: Cannot read property 'id' of undefined
- Django Models: Accessing Parent Object Attribute Within a Related Object Using OneToOneField
- Array.splice not woking when there is one index left
- I want to pass an image as a prop to another page
- Losing style of tr element when being dragged with react-sortable-hoc
- Every new Item added displays the same Date-Time
- How can I put an icon inside a Input in ReactJS?
- React router bootstrap LinkContainer returns TypeError: (0 , _reactRouterDom.withRouter) is not a function
- Reuse selected options in Reach-select
- React overriding child element styles
- React Router v6, How to place <Link /> into a button and event handler
- Why is there no submit button in Ant Design Mobile?
- How to transfer HTML datetime picker datetime-local to moment format