SolidJSS
SolidJSโ€ข3y agoโ€ข
1 reply
Nathan

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',
Was this page helpful?