Production build failing

My project runs fine on the dev server, but I get an error when I try to run the production build. There's no assets folder in the hierarchy, as far as I can tell, so I don't know what it's trying to refer to.
Error [RollupError]: Could not resolve "./assets/style-5d2e0917.js" from ".solid/server/entry-server.js"
at error ((project dir)/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
at ModuleLoader.handleInvalidResolvedId ((project dir)/inab-start/node_modules/rollup/dist/es/shared/node-entry.js:24650:24)
at ModuleLoader.resolveDynamicImport ((project dir)/node_modules/rollup/dist/es/shared/node-entry.js:24710:58)
at async (project dir)/inab-start/node_modules/rollup/dist/es/shared/node-entry.js:24597:32 {
code: 'UNRESOLVED_IMPORT',
exporter: './assets/style-5d2e0917.js',
id: '/Users/nathan/projects/inab-start/.solid/server/entry-server.js',
Error [RollupError]: Could not resolve "./assets/style-5d2e0917.js" from ".solid/server/entry-server.js"
at error ((project dir)/node_modules/rollup/dist/es/shared/node-entry.js:2245:30)
at ModuleLoader.handleInvalidResolvedId ((project dir)/inab-start/node_modules/rollup/dist/es/shared/node-entry.js:24650:24)
at ModuleLoader.resolveDynamicImport ((project dir)/node_modules/rollup/dist/es/shared/node-entry.js:24710:58)
at async (project dir)/inab-start/node_modules/rollup/dist/es/shared/node-entry.js:24597:32 {
code: 'UNRESOLVED_IMPORT',
exporter: './assets/style-5d2e0917.js',
id: '/Users/nathan/projects/inab-start/.solid/server/entry-server.js',
1 Reply
Nathan
NathanOP2y ago
I figured it out, sorta. It was caused somehow by my usage of solid-select.
Want results from more Discord servers?
Add your server