We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unable to build a NextJS app with langgraph.js without setting the following on the server only build.
If minimize=true, the build compiles and then throws TypeError: Cannot set properties of undefined (setting 'SHA224')
minimize=true
TypeError: Cannot set properties of undefined (setting 'SHA224')
next.config.js
webpack: (config, { isServer }) => { config.externalsPresets = { node: true } config.ignoreWarnings = [{ module: /opentelemetry/ }]; config.externals = [...(config.externals || []), 'canvas', 'domino', 'danfojs-node']; if (!isServer) { config.resolve.fallback = { ...config.resolve.fallback, googleapis: false, 'google-auth-library': false, }; config.resolve.alias = { ...config.resolve.alias, '@slack/web-api': false, }; } else { config.optimization.minimize = false; }
This was a related issue. #180
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Unable to build a NextJS app with langgraph.js without setting the following on the server only build.
If
minimize=true
, the build compiles and then throwsTypeError: Cannot set properties of undefined (setting 'SHA224')
next.config.js
This was a related issue.
#180
The text was updated successfully, but these errors were encountered: