Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Aki9923's avatar

Super expression must either be null or a function, not undefined

Everything works fine on dev (npm run dev) but after build I have this error: It is laravel + vue + inertia + vite + VueQuill

0 likes
3 replies
lbecket's avatar

You might start by checking that none of the libraries you are using have compatibility issues with each other. Beyond that, this error can happen if you forget to call the super() method at the beginning of your constructor function or if you try to access this before calling super().

Aki9923's avatar
Aki9923
OP
Best Answer
Level 1

@lbecket I solve a problem. BlotFormatter was a reason. Thank you.

capten_masin's avatar

@Aki9923 I'm having the same issue and also using BlotFormatter, how did you end up resolving it?

Please or to participate in this conversation.