-
Notifications
You must be signed in to change notification settings - Fork 385
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
storage-resize-image won't deploy because "Some services used by this extension have not been set up on your Firebase project." #2253
Comments
seanmavley
changed the title
storage-resize-image won't deploy because "Some services used by this extension have not been set up on your Fire base project."
storage-resize-image won't deploy because "Some services used by this extension have not been set up on your Firebase project."
Jan 13, 2025
Update: Trying to install via web console throws this error sometimes. Retrying the install "succeeds" and the error no longer shows up. But deployment from cli fails, although the extension functions
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below is the error and next is the steps I've taken so far.
The error
This is the full log
firebase deploy=== Deploying to 'moyato-7f9c9'...
i deploying storage, firestore, functions, hosting, extensions
Running command: npm --prefix "$RESOURCE_DIR" run lint
Running command: npm --prefix "$RESOURCE_DIR" run build
✔ functions: Finished running predeploy script.
i storage: ensuring required API firebasestorage.googleapis.com is enabled...
✔ storage: required API firebasestorage.googleapis.com is enabled
i firebase.storage: checking storage.rules for compilation errors...
✔ firebase.storage: rules file storage.rules compiled successfully
i firestore: reading indexes from firestore.indexes.json...
i cloud.firestore: checking firestore.rules for compilation errors...
✔ cloud.firestore: rules file firestore.rules compiled successfully
i functions: preparing codebase default for deployment
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
i artifactregistry: ensuring required API artifactregistry.googleapis.com is enabled...
✔ functions: required API cloudfunctions.googleapis.com is enabled
✔ artifactregistry: required API artifactregistry.googleapis.com is enabled
✔ functions: required API cloudbuild.googleapis.com is enabled
i functions: Loading and analyzing source code for codebase default to determine what to deploy
Serving at port 8951
i extensions: ensuring required API firebaseextensions.googleapis.com is enabled...
✔ extensions: required API firebaseextensions.googleapis.com is enabled
i functions: Loaded environment variables from .env.moyato-7f9c9.
i functions: preparing functions directory for uploading...
i functions: packaged /home/khophi/Development/Personal/moyato/barter/functions (126.58 KB) for uploading
i functions: ensuring required API run.googleapis.com is enabled...
i functions: ensuring required API eventarc.googleapis.com is enabled...
i functions: ensuring required API pubsub.googleapis.com is enabled...
i functions: ensuring required API storage.googleapis.com is enabled...
✔ functions: required API storage.googleapis.com is enabled
✔ functions: required API eventarc.googleapis.com is enabled
✔ functions: required API pubsub.googleapis.com is enabled
✔ functions: required API run.googleapis.com is enabled
i functions: generating the service identity for pubsub.googleapis.com...
i functions: generating the service identity for eventarc.googleapis.com...
i extensions: ensuring required API firebaseextensions.googleapis.com is enabled...
✔ extensions: required API firebaseextensions.googleapis.com is enabled
i extensions: ensuring required API compute.googleapis.com is enabled...
✔ extensions: required API compute.googleapis.com is enabled
The following extension instances will be configured:
storage-resize-images (firebase/[email protected])
i extensions: By installing an extension instance onto a Firebase project, you accept the Firebase Extensions User Terms of Service: https://firebase.google.com/terms/extensions/user
i storage: latest version of storage.rules already up to date, skipping upload...
i firestore: deploying indexes...
i firestore: latest version of firestore.rules already up to date, skipping upload...
✔ firestore: deployed indexes in firestore.indexes.json successfully for (default) database
✔ functions: functions folder uploaded successfully
i hosting[moyato-7f9c9]: beginning deploy...
i hosting[moyato-7f9c9]: found 54 files in dist/barter/browser
✔ hosting[moyato-7f9c9]: file upload complete
Error: Some services used by this extension have not been set up on your Firebase project. To ensure this extension works as intended, you must enable these services by following the provided links, then retry this command
Firebase Storage: store and retrieve user-generated files like images, audio, and video without server-side code.
https://console.firebase.google.com/project/moyato-7f9c9/storage
How I got to that point:
firebase ext:export
I have firebase storage setup and already in use, so an extension complaining my storage isn't setup is weird.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: