Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?]: Conflicting versions of package 'seroval' are created in output. #1214

Closed
2 tasks done
ghost opened this issue Jan 3, 2024 · 1 comment
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 3, 2024

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

When I build my SolidStart app, the output produces two different versions of a package called seroval which are conflicting and cause errors when trying to deploy the app.

When running bun run build (or npm...causes the same output), the following is produced:
image

I am building for Vercel specifically (with the --preview vercel flag on the vinxi build command inside package.json), but the same occurs under the normal .output/... if built without this flag.

The following error occurs: SyntaxError: The requested module 'seroval' does not provide an export named 'createStream'

When running npm ls seroval, I get:
image
I have the current latest version of both solid start and solidjs. Here are the relevant dependencies:

"dependencies": {
       ...
        "@solidjs/meta": "^0.29.3",
        "@solidjs/router": "^0.10.5",
        "@solidjs/start": "^0.4.2",
        "clsx": "^2.1.0",
        "solid-js": "^1.8.7",
        "solid-start": "^0.3.10",
        "vinxi": "0.0.62"
       ...
    },

Expected behavior 🤔

The output to be built correctly without conflicting dependencies.

Steps to reproduce 🕹

Steps:

  1. Create a solid app with the dependencies shown above
  2. Build with npm/bun run build
  3. Try to run or deploy it somewhere (vercel or locally; same error)

Context 🔦

No response

Your environment 🌎

MacOS Ventura
VSCode
@ghost ghost added the bug Something isn't working label Jan 3, 2024
@ryansolid
Copy link
Member

Updated Solid with the lates. All versions of Seroval are the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant