Closed TachoMex closed 10 months ago
I was able to go futher and make a workaround.
The issue is that my project is a static server and this lib requires component to 'use client'. So Adding that directive fixed the problem. Maybe it would be helpfull to have that kind of error instead of a js pure error that could make newbies like me to think the lib is not working.
Hello! I think something might got broken with new versions of node.
I am trying to integrate this lib with next application and just importing the lib makes it crash. I created a new next app with
npx create-next-app
, added dependencynpm i react-latex-next --save
and edited defaultpage.js
to this:When I start the server I get this error on console:
Notice that if I remove the import the error disappears.
Package json
Node version
Please let me know if I can help :smile: