Skip to content
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

SSR + i18n ENOENT: no such file or directory, rename index.html -> index.original.html #2765

Closed
juliocardosoventura opened this issue Feb 27, 2021 · 3 comments

Comments

@juliocardosoventura
Copy link

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 **

Screen Shot 2021-02-27 at 1 32 32 PM

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'

@Teebo
Copy link

Teebo commented May 28, 2021

Hi @juliocardosoventura have you found a solution to this issue?

@Teebo
Copy link

Teebo commented Jun 3, 2021

@jamesdaniels if you have any suggestions to circumvent this issue please share in the meantime.
Is this an issue on my side maybe as I have opened an issue #2847

@jamesdaniels
Copy link
Member

Addressed in 7.0.3

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

3 participants