-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Describe the bug
Bug with Warp Deploy Plugin throwing client side errors in prod
Super constructor null of anonymous class is not a constructor at new <anonymous>
To Reproduce
Steps to reproduce the behavior.
Create a basic Nextjs Project
Try to create a new warp instance with deploy plugin and run the commands
npm run build && npm start
Expected behavior
A new warp instance should be created with Deploy Plugin
Screenshots
Desktop (please complete the following information):
- OS: Mac OS
- Node.js version: v20.10.0
- warp-contracts SDK version: 1.4.26
- warp-contracts plugins being used (+ versions):
warp-contracts-plugin-deploy: 1.0.12 - Browser: Brave
- Version: 1.61.101 Chromium: 120.0.6099.71
Additional context
Tried a simple workaround with webpack config and it works for now, but not sure why this error comes in the first place
In next.config.mjs add a webpack config
const config = {
// Other config
webpack: (config, { isServer }) => {
if (!isServer) {
config.optimization.innerGraph = false;
}
return config;
},
}
export default config;Metadata
Metadata
Assignees
Labels
No labels