Closed trompx closed 3 years ago
Did you install the latest version of split-type?
@trompx sorry it took me a few days to respond
Just tested split-type with Next js, I am getting the same error.
I just released a patch version v0.2.5 that fixes this issue.
I've tested it with Next JS and it seems to be working fine now. Here is a CodeSandbox Example with next and split-type@0.2.5.
I'm going to close this now since it's been resolved.
@trompx I'm not sure if you saw my previous comment, but this issue was fixed in version 0.2.5. Once you upgrade to the new version, SplitType should work fine with Next.js. If you are still having problems after upgrading to 0.2.5, let me know and I'll reopen this.
So sorry for answering this late, I've been caught by other projects. It works wonder now, no more errors, thanks !
Great, glad to hear it!
Hello,
I was using an old version of splittype and recently migrated to next js. I tried to use your new version
import SplitType from 'split-type'
but I get the following error:Any idea how to solve this?