Subscribe on changes!

Error in v3.3.3

avatar
May 18th 2023

Vue version

3.3.3

Steps to reproduce

Idk image image

What is actually happening?

An error appear in the console and my component fail

System Info

System:
    OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (12) x64 Common KVM processor
    Memory: 15.89 GB / 31.36 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 18.16.0 - /usr/bin/node
    npm: 9.5.1 - /usr/bin/npm
  npmPackages:
    vue: ^3.3.3 => 3.3.3
avatar
May 18th 2023

I'm seeing this as well after upgrading my codebase to vue 3.3 - for me it seems to be caused by any components that do some sort of v-bind="$attrs"

Is this not something that is supported anymore?

image

image

Components are all using the comp api

avatar
May 18th 2023

+1

avatar
May 18th 2023

+1

avatar
May 18th 2023

I use composition api script setup

avatar
May 18th 2023

+1

avatar
May 18th 2023

+1

avatar
May 18th 2023

I have this issue, too. I did some investigation and it's caused by wrong bundle node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js In 3.2.38 (which was my previous version) it's bundled like this (lines end with semicolons) image In 3.3.3 the semicolon after track(...) is missing and lines are joined, which causes the expression is malformed image

EDIT: Last version ok was 3.2.47

avatar
May 18th 2023

+1

avatar
May 18th 2023

I also have this issue. in v3.3.3 caused by wrong bundle node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js

image
avatar
May 18th 2023

+1

avatar
May 18th 2023

+1

avatar
May 18th 2023

+1

avatar
May 18th 2023

I have the same error, $attrs

avatar
May 18th 2023

I managed to fix the problem, wait for me to pass pr

avatar
May 18th 2023

#8358