-
Notifications
You must be signed in to change notification settings - Fork 28
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
IKImage
raises ReferenceError: regeneratorRuntime is not defined
in Next JS with typescript project
#144
Comments
ReferenceError: regeneratorRuntime is not defined
in Next JS with typescript projectIKImage
raises ReferenceError: regeneratorRuntime is not defined
in Next JS with typescript project
Same issue with React (Vite) project |
Same issue ReferenceError: regeneratorRuntime is not defined has anyone figure it out yet? |
Hi @lorenzocestaro i have tested with <IKImage
path="default-image.jpg"
urlEndpoint={urlEndpoint}
transformation={[
{
height: "300",
width: "200",
cropMode: "extract",
raw: "l-text,i-Imagekit,fs-20,l-end",
},
]}
/> It's working well on my end. Can you provide more details about your configurations and code so I can reproduce the issue? |
Hello after talking to support, was not a problem of the package, all that needs to be added is this runtime, create a runtime.js and add it to your project. |
I solved this by adding |
Hello, I am trying to use
IKImage
in a Next JS project (with typescript). The compilation fails with aReferenceError: regeneratorRuntime is not defined
.I am not sure what is causing it, but it seems all the bundles in
dist
are usingregeneratorRuntime
.I found this similar issue that I think it could be a starting point to fix this, but I am not 100% sure
The text was updated successfully, but these errors were encountered: