Open zsiegel opened 2 years ago
Quick follow up. If I go into node modules and rename the files in package.json
and in bin
to not have .js
on the end things seem to import ok.
However the color overrides for buttons do not seem to work.
Thanks for all the details @zsiegel . Will look into this
Hi,
I just had the same problem, I am using Next 12 too. it's likely because of this: https://nextjs.org/blog/next-12#es-modules-support-and-url-imports
with import ConvertKitForm from 'convertkit-react/bin/convertkit-react.esm'
everything works fine for me so far.
Have the same issue
Hi,
I just had the same problem, I am using Next 12 too. it's likely because of this: https://nextjs.org/blog/next-12#es-modules-support-and-url-imports
with
import ConvertKitForm from 'convertkit-react/bin/convertkit-react.esm'
everything works fine for me so far.
Using Next as well and this worked great! Thank you man!
import ConvertKitForm from 'convertkit-react/bin/convertkit-react.esm'
This works well for Next.js 13 as well. Thanks!
Hello
I recently updated a project of mine to Next 12 and then also updated the
converkit-react
library to1.5.5
.When I startup the project and load my page with the form on it I now get the following error.
I do not think I am going anything special. This is a vanilla next project and I import the form with the following.
I am not sure what might be going wrong here but I see in the project history there was a release specifically for Next around commonjs a few releases back.
Maybe something has changed with Next 12?