Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

运行时unplugin-vue-define-options报错 #31

Open
lampard-8 opened this issue Feb 14, 2023 · 5 comments
Open

运行时unplugin-vue-define-options报错 #31

lampard-8 opened this issue Feb 14, 2023 · 5 comments

Comments

@lampard-8
Copy link

[vite] Internal server error: unplugin-vue-define-options TypeError: Cannot read properties of undefined (reading 'scriptSetupAst')

@MrMingZhang
Copy link

me too

@zouyu01-sz
Copy link

tsconfig.json下配置:
"types": ["node", "vite/client", "unplugin-vue-define-options","unplugin-vue-define-options/macros-global"],

@YAGregor
Copy link

尝试了一下使用yarn安装依赖会产生这个错误,但是用pnpm不会,可能是小版本锁定的问题

@letear
Copy link

letear commented Mar 27, 2023

tsconfig.json下配置: "types": ["node", "vite/client", "unplugin-vue-define-options","unplugin-vue-define-options/macros-global"],

It didn't work

@mohammadAthRumman
Copy link

upgrade unplugin-vue-define-options to 1.1.3

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

No branches or pull requests

6 participants