-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Exception while running command: ng run x:deploy #2088
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
Exception while running command: ng run x:deploy #2088
Comments
Did you first run |
Yes, I did. Thanks! |
Hi ! Amazing command ! But I got the same issue 😞
Works on Linux but not on Windows |
Im getting the same issue. |
I have the same problem with angular 8 on windows. This issue helped me: #2101 |
got the same issue |
Getting same issue with |
Same issue. I'm using @angular/core 8.2.0 and @angular/fire 5.2.1. |
Same Issue: testing deploy angular cli 8.3.0 @angular/fire 5.2.1 windows 10 |
Same problem on windows. This is what I did to launch my application: |
Updated Node to latest Same error and result Can concur with Crisp3333, bypassed the new command a few weeks ago with the manual process. |
Same issue on Windows 10 | @angular/cli 8.3.3 | @angular/fire 5.2.1
|
same issue on windows 10 and stable node version |
I am able to fix this issue by doing the following changes : In \node_modules@angular\fire\schematics\utils.js > In getFirebaseProjectName method and In \node_modules@angular\fire\schematics\deploy\builder.js |
Any update on this? |
any updates ? , it should work on windows, |
I |
Same issue here. The best solution currently seems to be avoiding ng deploy for now and just following the normal firebase CLI deploy option. |
trying to use this for the 1st time -- same issue 👎 |
Same for me, using both:
or
|
@ngdevelop-tech that fixed the insue for me, thanks! |
Temporary workaround if you don't want to change the core files: |
When we execute `ng deploy` command, `workspace.root` gives wrong path in Windows environment, thats why it doesn't work in Windows environment. Using only `project root` In `getFirebaseProjectName` and `deploy`, will successfully allow `ng deploy` while executing it at project root in windows and linux environment. fixes angular#2088
Any update on when this change will be added so we don't have to do this to the core files each time? @ngdevelop-tech |
@rlee1990 PR is in progress. Soon will let you know for updates. |
I has the same problem, i believe that the command don't understant the path correct of the file .firebaserc, in my case, he tried found \D\Unimed\projetos\app-unimedbr.firebaserc but the correct is D:\ |
Angular devkit paths are not interchangable with Node FS paths. Closes angular#2088
Angular devkit paths are not interchangeable with Node FS paths. Closes angular#2088
Angular devkit paths are not interchangeable with Node FS paths. Closes #2088
Angular devkit paths are not interchangeable with Node FS paths. Closes #2088
Version info
Angular: 8.0.0
Firebase: 6.1.0
AngularFire: 5.2.0-rc.1
OS: Windows 10 Pro (Version: 1809)
How to reproduce these conditions
Failing test unit, Plunkr, or JSFiddle demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
Debug output
Errors in the JavaScript console
Output from
firebase.database().enableLogging(true);
Screenshots
Expected behavior
Running the following command
ng run x:deploy
have to successfully build and deploy the project to Firebase Hosting.Note: the
x
above is the project name.Actual behavior
Fails at the beginning to find
.firebaserc
file but it exists. I figured out the path\C\Users\X\Documents\X\X\X\.firebaserc
is wrong.The text was updated successfully, but these errors were encountered: