Skip to content

ng deploy doesn't work under windows #2101

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

Closed
chrste90 opened this issue Jun 3, 2019 · 3 comments
Closed

ng deploy doesn't work under windows #2101

chrste90 opened this issue Jun 3, 2019 · 3 comments

Comments

@chrste90
Copy link

chrste90 commented Jun 3, 2019

This is an issue created for #2086 (comment) as asked by @mgechev

Version info

Angular: 8.0.0

Firebase: 6.1.0

AngularFire: 5.2.0

Angular CLI: 8.0.0

How to reproduce these conditions

Steps to set up and reproduce

Create a new CLI project under windows, run ng add @angular/fire and run ng run deploy.

Debug output

ENOENT: no such file or directory, open '\C\Users\name\project\.firebaserc'

but the file exists and i can manually run firebase deploy.

Expected behavior

Deployment of the application.

Actual behavior

Error during deployment.

Some debugging informations

I tried to find the source of the problem and it seems to come from https://github.com/angular/angularfire2/blob/8e5a99561fe35ff5705a4223b2b6b7406ec236ad/src/schematics/utils.ts#L59-L70

projectRoot under windows is starting with /c/... instead of c:/.... If i change the path to c:/, the deployment is working.

@Splaktar
Copy link
Contributor

This looks like a duplicate of #2088.

@mgechev
Copy link
Member

mgechev commented Jul 21, 2019

Yes, let's close this issue and keep track in #2088.

cc @jamesdaniels

@NothingEverHappens
Copy link
Contributor

Closing as a duplicate, going to look into the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants