Open AtlasPilotPuppy opened 2 years ago
We have to same error.
Same issue on the Angular example.
I can't compile it either, but I get a different error:
> example-browser-nextjs@1.0.0 build
> next build && next export -o dist
info - Checking validity of types...
info - Creating an optimized production build...
info - Compiled successfully
info - Collecting page data...
> Build error occurred
TypeError: Class extends value undefined is not a constructor or null
at Object.<anonymous> (/vercel/path0/node_modules/timeout-abort-controller/index.js:8:33)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at ModuleWrap.<anonymous> (internal/modules/esm/translators.js:199:29)
at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
at async Loader.import (internal/modules/esm/loader.js:178:24) {
type: 'TypeError'
Error: Command "npm run build" exited with 1
Looks like this happens when one circularly imports classes
I spent a lot of time on this but couldn't get it to work, I need help. Thank you :)
Forgot a very important detail: no issues compiling locally on my machine, only get the error on the Vercel deployment
Same error
It throws an in initialization