fix: exception while running command ng deploy (#2088)#2221
fix: exception while running command ng deploy (#2088)#2221ngdevelop-tech wants to merge 4 commits intoangular:masterfrom
Conversation
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
|
@NothingEverHappens, Thanks for the approval. |
|
@ngdevelop-tech Meanwhile you can try running |
NothingEverHappens
left a comment
There was a problem hiding this comment.
After testing it locally yesterday I'm not convinced this is the best solution.
I think the culprit is the normalize function which we should use in a platform aware way.
@NothingEverHappens Sorry for the delayed reply, I will look into solving this with a better approach. |
Checklist
yarn install,yarn testrun successfully? (yes/no; required)Description
When we execute
ng deploycommand,workspace.rootgives the wrong path in the Windows environment, that's why it doesn't work in the Windows environment.Using only
project rootIngetFirebaseProjectNameanddeploy, will successfully allowng deploywhile executing it at project root in windows and linux environment.fixes #2088