S
SolidJS16mo ago
PSY

Error [RollupError]: "assign" is not exported by "node_modules/solid-js/web/dist/server.js"

When trying to build my solid-start app using solid-start build I get the following error:
file:///home/user/code/project/node_modules/rollup/dist/es/shared/node-entry.js:2245
base = Object.assign(new Error(base.message), base);
^

Error [RollupError]: "assign" is not exported by "node_modules/solid-js/web/dist/server.js", imported by "node_modules/solid-js/h/dist/h.js".
file:///home/user/code/project/node_modules/rollup/dist/es/shared/node-entry.js:2245
base = Object.assign(new Error(base.message), base);
^

Error [RollupError]: "assign" is not exported by "node_modules/solid-js/web/dist/server.js", imported by "node_modules/solid-js/h/dist/h.js".
Does anyobody know the cause of this error? When using the solid-start dev command everthing works fine.
1 Reply
ReaperSenpaix99
ReaperSenpaix9910mo ago
I'm got the same issue, make sure you are checking what kind of packages you are using, for me it was @tabler/icons
Want results from more Discord servers?
Add your server