-
Notifications
You must be signed in to change notification settings - Fork 856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud Build: Firebase application deployment failed due to the experimental web framework not being enabled. #635
Comments
@sebastianrychlik Can you provide more details on the image you are using
|
@haroonc Thanks for the answer. Regarding gcr.io/cloudfirebaseauthmydemo/firebase, I did the following: git clone https://github.com/GoogleCloudPlatform/cloud-builders-community 2. Regarding my Angular project: I prepared simple cloudbuild.yaml: steps: '# Install'
'# Build'
options: 3. I noticed that two yaml files in .github\workflows were been generated: #This file was auto-generated by the Firebase CLI name: Deploy to Firebase Hosting on merge and second yaml file: #This file was auto-generated by the Firebase CLI name: Deploy to Firebase Hosting on PR Important is that there was no question given: $ firebase init hosting
You're about to initialize a Firebase project in this directory: C:\Users\HP_OMEN\Projects\CloudFirebaseAuthMyDemo\Angular-v15\CloudFirebaseAuthMyDemo Before we get started, keep in mind:
? Are you ready to proceed? Yes === Project Setup First, let's associate this project directory with a Firebase project. i Using project cloudfirebaseauthmydemo (CloudFirebaseAuthMyDemo) === Hosting Setup i Detected a .git folder at C:\Users\HP_OMEN\Projects\CloudFirebaseAuthMyDemo\Angular-v15\CloudFirebaseAuthMyDemo Visit this URL on this device to log in: Waiting for authentication...
? For which GitHub repository would you like to set up a GitHub workflow? (format: user/repository) sebastianrychlik/CloudFirebaseAuthMyDemoV15
? Set up the workflow to run a build script before every deploy? Yes
i Action required: Visit this URL to revoke authorization for the Firebase CLI GitHub OAuth App: i Writing configuration info to firebase.json...
5. After pushing to Github release branch, cloudbuild.yaml is executed. For last step 'Deploy', I get: 2023-09-28 16:33:02.411 CEST |
I get an error in Cloud Build for last "Deploy" step:
Deploy
args: ['deploy', '--project=cloudfirebaseauthmydemo', '--only=hosting']
The error is:
"Step 2: Error: Cannot deploy a web framework from source because the experiment webframeworks is not enabled. To enable webframeworks run firebase experiments:enable webframeworks"
The text was updated successfully, but these errors were encountered: