You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR Cannot find module '/.../solid-start-uuid-v11/.output/server/node_modules/uuid/wrapper.mjs' imported from /.../solid-start-uuid-v11/.output/server/index.mjs 8:23:43 AM
at finalizeResolution (node:internal/modules/esm/resolve:275:11)
at moduleResolve (node:internal/modules/esm/resolve:932:10)
at defaultResolve (node:internal/modules/esm/resolve:1056:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:650:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:599:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:582:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:241:38)
at ModuleJob._link (node:internal/modules/esm/module_job:132:49)
@peterhirn So... technically I don't think this is an issue with uuid. Your error is complaining about there not being a "wrapper.mjs" in .output/server/node_modules/uuid, which is true...
$ ls .output/server/node_modules/uuid/wrapper.mjs
ls: .output/server/node_modules/uuid/wrapper.mjs: No such file or directory
... but the uuid package supplies that file, as seen in the top-level node_modules that pnpm installs:
$ ls node_modules/uuid/wrapper.mjs
node_modules/uuid/wrapper.mjs
So it looks like vinxi build is dropping that file on the floor for some reason.
That said, with the refactoring work that's gone into uuid@11, I'm not sure we need wrapper.mjs any more. I've opened #822 to look into removing it.
Before you begin...
Description of the problem
Unclear if this is a bug here or in vinxi
Recipe for reproducing
pnpm create solid@latest -s solid-start-uuid-v11
Edit
src/entry-server.tsx
Additional information
pnpm dev
works as expected.Environment
Node: v23.1.0
Workaround
pnpm patch uuid
The text was updated successfully, but these errors were encountered: