You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./dist/server.js:107060 var decimal128$3 = driver$1.get().Decimal128; ^
TypeError: Cannot read properties of null (reading 'Decimal128') at ./dist/server.js:107060:34 at ModuleJob.run (node:internal/modules/esm/module_job:193:25) at async Promise.all (index 0) at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
Node.js v18.12.1
It's supposedly related to the bundling order as mentioned in this mongoose ticket. It would be interesting to see if the error persist in vite to 4 /w rollup 3.
The text was updated successfully, but these errors were encountered:
There is an escape hatch in vite config to add configuration to @rollup/plugin-commonjs, but it seems to not be working. I wonder if solid-start overwrites the rollup plugins somewhere.
I've made a reproduction here;
https://github.com/birkskyum/solid-mongoose-issue
Importing mongoose in a route like this breaks the build:
The error is like this:
It's supposedly related to the bundling order as mentioned in this mongoose ticket. It would be interesting to see if the error persist in vite to 4 /w rollup 3.
The text was updated successfully, but these errors were encountered: