I'm trying to deploy my firebase project but I'm getting this error:
HTTP Error: 400, Configuring expiration modes is not permitted
I haven't found anything on web and I don't know what could it be.
Anyone has encountered the same error?
Thanx
Posting the @ProfLayton's solution as a Community wiki for better visibility.
The error has been fixed by launching the deployment scripts separately:
npm run build = REACT_APP_ENV=PROD GENERATE_SOURCEMAP=false react-scripts build
firebase use [proj-name]
firebase deploy --only functions
firebase deploy --only hosting:prod
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.