-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Error runnig ng add @angular/fire
: "ENOENT: no such file or directory, open 'firebase.json'"
#3016
Comments
Ah windows, I bet that has something to do with it. Should help me narrow down the problem, thanks. |
I don't know if helps, but i'm using Windows 11 |
There’s been a flaky test in the windows contribute test suite, which means I haven’t been keeping as good an eye on this as I should. I’ll see if I can repro on my gaming machine. expect I’ll be able to track it down quickly. |
I just confirmed it is a problem in Windows. |
I'm not sure if it's a related issue, but after i successfully installed angular fire and deployed on firebase functions using Ubuntu. I tried deploy using Windows, but i receive an error. Error log on Firebase {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {
"code": 3,
"message": "Build failed: npm ERR! The `npm ci` command can only install with an existing package-lock.json or\nnpm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or\nnpm ERR! later to generate a package-lock.json file, then try again.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2021-10-12T16_18_43_488Z-debug.log; Error ID: beaf8772"
},
"authenticationInfo": { "principalEmail": "alisterlf@gmail.com" },
"serviceName": "cloudfunctions.googleapis.com",
"methodName": "google.cloud.functions.v1.CloudFunctionsService.UpdateFunction",
"resourceName": "projects/hefesto-ecommerce/locations/southamerica-east1/functions/ssr_StoreWebApp"
} |
Need to convert the schematic host path to a windows path. Fixes #3016
Version info
Angular: 12.2.9
Firebase: 9.20.0
AngularFire: 7.1.0
Node: 16.8.0
npm: 8.0.0
How to reproduce these conditions
Steps to set up and reproduce
Debug output
** Output from terminal **
** Screenshots **
Expected behavior
Schematics running successfully
Actual behavior
Error creating firebase.json file.
The text was updated successfully, but these errors were encountered: