angular-cli-ghpages icon indicating copy to clipboard operation
angular-cli-ghpages copied to clipboard

404.html is not copied when using angular localize

Open osamaz26 opened this issue 2 years ago • 1 comments

I'm trying to deploy the project that has locales but I got the message "index.html could not be copied to 404.html. This does not look like an angular-cli project?!". I did a debug and found that the lib searches for the index.html in the route folder which is in my case dist but the build command creates 2 folders inside the dist folder. Each one of them has a locale.

More info Angular version: 14.0.0 angular-cli-ghpages: 1.0.0

osamaz26 avatar Jul 01 '22 17:07 osamaz26

It should use the directory that is set up for the project in the angular.json. Could you provide a minimal demo so that we can try to reproduce this error?

JohannesHoppe avatar Jul 06 '22 21:07 JohannesHoppe