-
Notifications
You must be signed in to change notification settings - Fork 15
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
TypeError: hexoid is not a function when using Akismet API with Formidable Implicit Dependency #264
Comments
@seangray-dev Thanks for the report. Are you able to provide a reproduction (or even an excerpt of what akismet-api function you're calling that is erroring)? |
Just ran into this too when trying to use the library on a Next.js project.
Not sure why it happens exactly, I followed a workaround from this PR: Adding an alias mapping to
EDIT: The above change isn't fixing all issues, there are still warnings during production builds. |
I recently encountered an issue within a Next.js application after installing akismet-api version 6.0.0. When I attempt to use the Akismet client in my Next.js route handler, I receive the following error: TypeError: hexoid is not a function.
Environment
Node.js Version: 18.7.0
Next.js Version: 14.3.2
Akismet API Version: 6.0.0
The text was updated successfully, but these errors were encountered: