Skip to content

index.html could not be copied to 404.html. Continuing without an error. #41

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

Closed
pratik-bali opened this issue Jun 16, 2018 · 4 comments
Closed

Comments

@pratik-bali
Copy link

ngh --dir dist/third
sudo angular-cli-ghpages --branch gh-pages
angular-cli-ghpages
index.html could not be copied to 404.html. Continuing without an error.
An error occurred!
Error: Unspecified error (run without silent option for detail)
then i tried
sudo npm run deploy
then it says successfully published
with error listed above

@dyh333
Copy link

dyh333 commented Jun 26, 2018

#37

@JohannesHoppe
Copy link
Member

Duplicate of #37, use --dir until I figured out an automated detection of the right folder.

@Atekawere
Copy link

npx angular-cli-ghpages --dir=dist/Git-Search
index.html could not be copied to 404.html. This does not look like an angular-cli project?!
(Hint: are you sure that you have setup the directory correctly?)
Diagnostic info: ENOENT: no such file or directory, stat '/home/victor/Desktop/Git-Search/Git/dist/Git-Search/index.html'
👨🚀 Uploading via git, please wait...
❌ An error occurred when trying to deploy:
ENOENT: no such file or directory, stat '/home/victor/Desktop/Git-Search/Git/dist/Git-Search'

Getting this error which i dont understand

@JohannesHoppe
Copy link
Member

Please use the new ng deploy (see README) command which determines the right folder!

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

4 participants