solid-start
solid-start copied to clipboard
[Bug?] Starting a built project trigger error: `Cannot find module '.../.output/server/node_modules/.../index.js' imported from .../.output/server/index.mjs`
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Current behavior 😯
Running into a new issue since upgrading to 0.4.0
(beta2)
build works vinxi build
but starting the built project vinxi start
will fail with this error:
Cannot find module '.../.output/server/node_modules/drizzle-orm/postgres-js/index.js' imported from .../.output/server/index.mjs
File .output/server/index.mjs
looks like:
...
import 'drizzle-orm/postgres-js';
import 'drizzle-orm/postgres-js/migrator';
import 'drizzle-orm';
...
And inside .output/server/node_modules/drizzle-orm
is missing the folder postgres-js
Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:
Context 🔦
Since my built project cannot be started, I cannot actually deploy to production right now.
Your environment 🌎
Node: 20.5.1
"@solidjs/start": "^0.4.10"
"solid-js": "^1.8.12"
"vinxi": "^0.1.4"