Description
Version info
Angular:
^11.2.3
Firebase:
^7.0 || ^8.0
AngularFire:
^6.1.4
Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
Failing test unit, Stackblitz demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
Debug output
** Errors in the JavaScript console **
ENOENT: no such file or directory, rename 'dist/my-app/dist/my-app/browser/index.html' -> 'dist/my-app/dist/my-app/browser/index.original.html'
** Output from firebase.database().enableLogging(true);
**
** Screenshots **
Expected behavior
this is the line in schematics/deploy/actions.js / fsHost.renameSync(path_1.join(newClientPath, 'index.html'), path_1.join(newClientPath, 'index.original.html')); get path from side firebase.json hosting.public or another config property received from the buildTarget because when the dist/browser have another path the action.js fail.
Actual behavior
ENOENT: no such file or directory, rename 'dist/my-app/dist/my-app/browser/index.html' -> 'dist/my-app/dist/my-app/browser/index.original.html'