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

How to run on Netlify? #93

Closed
murilobd opened this issue Oct 12, 2020 · 3 comments
Closed

How to run on Netlify? #93

murilobd opened this issue Oct 12, 2020 · 3 comments

Comments

@murilobd
Copy link

First or all, thanks a lot for this awesome package!!
I'm trying to deploy to Netlify using presite but I keep receiving the error Error: Cannot find Chrome on your system.

I've tried already installing Netlify-plugin-chromium but with no success unfortunately.

Any idea how could I run presite on Netlify?

@murilobd
Copy link
Author

I found a solution by adding a custom chrome path on (taki)[https://github.com/egoist/taki) and extending that option on presite. I already created a PR #95 for this.

@egoist
Copy link
Owner

egoist commented Oct 16, 2020

I've released v2.0.1 which automatically use process.env.CHROME_PATH, please try and see if it works on Netlify

@murilobd
Copy link
Author

Yes, it works fine! I've close both PRs. Thanks @egoist !

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