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

In Astro SSG, scoped slots are breaking the build #9981

Closed
elevatebart opened this issue Jan 3, 2024 · 0 comments · Fixed by #9983
Closed

In Astro SSG, scoped slots are breaking the build #9981

elevatebart opened this issue Jan 3, 2024 · 0 comments · Fixed by #9983
Labels

Comments

@elevatebart
Copy link
Contributor

elevatebart commented Jan 3, 2024

Vue version

3.4.3

Link to minimal reproduction

https://codesandbox.io/p/devbox/vue-astro-3-4-4-9qmcdd

Steps to reproduce

Open the code sandbox and let run the build task

What is expected?

I believe it should compile properly.

What is actually happening?

It is returning the following message:

20:08:23 [ERROR] node.scopeIds.forEach is not a function
  Stack trace:
    at Object.enter (/workspaces/sandbox/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:1520:25)

System Info

System:
    OS: macOS 14.2.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 624.19 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/Library/Caches/fnm_multishells/54301_1704309312457/bin/node
    Yarn: 1.22.21 - ~/Library/Caches/fnm_multishells/54301_1704309312457/bin/yarn
    npm: 9.6.7 - ~/Library/Caches/fnm_multishells/54301_1704309312457/bin/npm
    pnpm: 8.14.0 - ~/Library/Caches/fnm_multishells/54301_1704309312457/bin/pnpm
  Browsers:
    Chrome: 120.0.6099.129
    Safari: 17.2.1
  npmPackages:
    vue: ^3.4.4 => 3.4.4

Any additional comments?

It seems to be linked to #9867.
It does not fail on Stackblitz.
I can continue digging into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants