Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@elevatebart

Description

@elevatebart

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions