bigdatasg / csj-deployingapplications

Repository to log issues related to CSJ -Deploying Applications Quest
3 stars 0 forks source link

failed at Cloud Firestore security rules #10

Open noahcse opened 5 years ago

noahcse commented 5 years ago

at Firebase Web (GSP065) Cloud Firestore security rules (optional) I followed step to modify rules at Database tab then publish it. after: firebase deploy --only storage i got error:

$ firebase deploy --only storage

Error: Cannot understand what targets to deploy. Check that you specified valid targets if you used the --only or --except flag. Otherwise, check your firebase.json to ensure that your project is initialized for the desired features.

then I skip this session and try next one: Deploy your app using Firebase Hosting after modify firebase.json, then firebase deploy --except functions i got error again:

$ firebase deploy --except functions === Deploying to 'qwiklabs-gcp-6f50270a36716244'... i deploying storage, firestore, hosting Error: Error reading rules file storage.rules

ShukujiNeel13 commented 5 years ago

Hi Noah, Thanks for raising this issue. Another participant got into the same issue. We managed to proceed with this step without an error. However, subsequent steps still have the issues.

The following change to the command helps it get executed without the error. Most likely the command target is faulty / wrong in below step: firebase deploy -- only storage

Instead of the above command, execute the below command (I.e. deploy command without the target) firebase deploy

noahcse commented 5 years ago

HI Neel, thanks for your great support, unfortunately I tested firebase deploy and didn't work,

$firebase deploy === Deploying to 'qwiklabs-gcp-6f50270a36716244'... i deploying storage, firestore, functions, hosting Error: Error reading rules file storage.rules

DivyaGe commented 5 years ago

The issue has been resolved by Qwiklabs team.