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

Nonexistent index.html file causes build failure #16

Open
phkla1 opened this issue Oct 1, 2021 · 3 comments
Open

Nonexistent index.html file causes build failure #16

phkla1 opened this issue Oct 1, 2021 · 3 comments

Comments

@phkla1
Copy link

phkla1 commented Oct 1, 2021

The build (make install, etc) fails. Error messages and further investigation shows that this is due to the fact that the frontend entry point src/reversi_assets/public/index.html does not actually exist.

@phkla1
Copy link
Author

phkla1 commented Oct 1, 2021

To fix this you can touch src/reversi_assets/public/index.html (unix systems) to create an empty index.html .
I would have sent a pull request but don't have much experience with makefiles.

@phkla1 phkla1 closed this as completed Oct 1, 2021
@phkla1 phkla1 reopened this Oct 1, 2021
@phkla1
Copy link
Author

phkla1 commented Oct 1, 2021

Unfortunately this is not a solution. Upon creating a blank index.html, successfully building and installing the canister, and visiting the canister page:

  • Page initially doesn't load....console.log error shows missing "<"
  • After reload/refresh "pulsing dot" page shows...console.log errors "register error", "fail to verify certificate", etc.

@ninegua
Copy link
Owner

ninegua commented Oct 1, 2021

I've upgraded dfx to 0.8.1 and added an index.html. Hopefully it should for you too. Please let me know. Thanks!

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

2 participants