PSY
PSY
SSolidJS
Created by PSY on 8/6/2023 in #support
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.
2 replies