Closed jokokoloko closed 5 years ago
Hi @jokokoloko, thank you for the detailed issue report. I’ll try to fix it tomorrow.
@jokokoloko, could you please update to react-aria-offcanvas@next and let me know if the problem is still there.
@neosiae I tried running npm update react-aria-offcanvas@next
and nothing happened. Am I missing something or am I not doing something right? I don't see any new releases nor any new commits here.
@neosiae running npm install react-aria-offcanvas@next
worked and version 1.2.4 looks likes it has this issue solved and Gatsby is able to build out the static HTML files as expected, thanks! I won't test it out on Netlify until you officially release the next version but I imagine it should work all the same there as well.
I will let you know when it is ready, I'm not satisfied with the current solution. Do not use it in production. There could be a new prop, but I'm not sure right now.
Sounds good, thanks!
Update to react-aria-offcanvas@latest
. You don't need to change anything in your code.
I have updated to version 1.3.1 and everything is working correctly! Gatsby is able to again build out the static HTML files on my local as well as on Netlify! Thanks for the timely fix!
Hello, I have been using your Offcanvas component, which is really great, in a Gatsby project that recently started to cause an error and the failure of the building of the static HTML files since you released the latest version of 1.2.2.
The error:
Gatsby recommends going to https://gatsby.dev/debug-html for debugging, which I did, but I wasn't able to get any of their recommended fixes to work within my own code/project. The documentation within this link mentions:
In order to get my static HTML files to build correctly again, I had to lock the version of react-aria-offcanvas to 1.2.1. It would be good to get a fix in for this and to know that future versions of this component will work when building static HTML files, especially in Gatsby, thanks!
Here is the full log: