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

Nuxt: Broken since 0.0.35 #1716

Closed
max06 opened this issue May 13, 2024 · 5 comments · Fixed by #1746
Closed

Nuxt: Broken since 0.0.35 #1716

max06 opened this issue May 13, 2024 · 5 comments · Fixed by #1746
Assignees
Labels
bug Something isn't working

Comments

@max06
Copy link

max06 commented May 13, 2024

What happens?

The requested module '/_nuxt/@fs/workspaces/nimbus/node_modules/boolbase/index.js?v=c13543d7' does not provide an export named 'default'

This did not break in 0.0.34.

What did you expect to happen?

It should not break

How can we reproduce the issue?

  • Have a nuxt app (tested in 3.11.2).
  • Install module as documented (and pin using bun add @scalar/[email protected])
  • Start devserver and render random openapi schema
  • Observe app failure

Swagger/OpenAPI Example

No response

@max06 max06 added the bug Something isn't working label May 13, 2024
@amritk amritk self-assigned this May 13, 2024
@amritk
Copy link
Member

amritk commented May 13, 2024

Hello @max06 thanks for reporting the issue! We are on the case 🔍 . In the meanwhile, I think version 0.0.33 should work.

@max06
Copy link
Author

max06 commented May 13, 2024

Hey @amritk - thanks for the headsup!

0.0.34 is also working fine, just in case. Based on the commit history 0.0.35 looked like it could cause issues so I started testing at 0.0.34 - lucky hit 🍀

@amritk
Copy link
Member

amritk commented May 13, 2024

hmm strange, because I found another issue in 0.0.34. Could be that the issue is only in dev

@max06
Copy link
Author

max06 commented May 13, 2024

Good to know, I'll keep my eyes open! 🙇🏼

@hanspagel
Copy link
Member

hanspagel commented May 14, 2024

On it! :)

0.0.33, 0.0.32 and 0.0.31 aren’t on npm (because our release workflow was broken)

language "json" has no grammar.

scalar/scalar@main gives me:

500
The language "json" has no grammar.

debug does not provide export named default

Fresh Nuxt project, as soon as I scroll I get the following error for all versions:

500 The requested module '/_nuxt/node_modules/.pnpm/[email protected]/node_modules/debug/src/browser.js?v=84edd67f' does not provide an export named 'default'

marclave pushed a commit that referenced this issue May 16, 2024
…#1746)

* refactor: use lowlight for syntax highlighting in markdown

* docs(changeset): refactor: use lowlight instead of prism in the markdown component (rollback 64024a5)

* fix: nuxt route on start page

* test: nuxt playwright testing and remove broken nuxt unit tests

* chore: fix nuxt test workflow

* chore: fix testing workflow

---------

Co-authored-by: Amrit <[email protected]>
Co-authored-by: tmastrom <[email protected]>
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
3 participants