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

Error when introducing Quasar build in Vitepress , Error: __QUASAR_SSR_SERVER__ is not defined #17381

Closed
waversky opened this issue Jul 18, 2024 · 1 comment
Labels
area/plugins bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vite-plugin Bugs related to Vite usage with Quasar kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@waversky
Copy link

What happened?

vitepress 引入 Quasar 报错 Error: QUASAR_SSR_SERVER is not defined

What did you expect to happen?

我在一个空文件夹初始化 vitepress 并引入 Quasar ,
按照Vite plugin的指引安装到项目中,
预览没有问题,但是编译时报错 Error: QUASAR_SSR_SERVER is not defined

Reproduction URL

https://stackblitz.com/edit/vite-x5s5gg

How to reproduce?

在控制台中执行
npm run docs:build

Flavour

Vite Plugin (@quasar/vite-plugin)

Areas

Plugins (quasar)

Platforms/Browsers

Other

Quasar info output

No response

Relevant log output

✓ building client + server bundles...
⠋ building client + server bundles...build error:
__QUASAR_SSR_SERVER__ is not defined
Error: __QUASAR_SSR_SERVER__ is not defined
    at _evaluate (https://vitex5s5gg-uh0g-m0jrlexf.w-corp-staticblitz.com/blitz.41692973.js:40:793812)

Additional context

No response

@waversky waversky added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jul 18, 2024
@github-actions github-actions bot added area/plugins bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vite-plugin Bugs related to Vite usage with Quasar labels Jul 18, 2024
@yusufkandemir
Copy link
Member

The reproduction you've included works without any errors. So, I can't reproduce the issue.

@yusufkandemir yusufkandemir closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/vite-plugin Bugs related to Vite usage with Quasar kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants