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

Expected ">" but found "setup" #1808

Closed
helloxm opened this issue Aug 9, 2024 · 2 comments
Closed

Expected ">" but found "setup" #1808

helloxm opened this issue Aug 9, 2024 · 2 comments

Comments

@helloxm
Copy link

helloxm commented Aug 9, 2024

Environment

  • Slidev version: 0.49.24 and before
  • OS: Widows

pnpm build

build error!

infos:

✓ 415 modules transformed.
x Build failed in 1.86s
[vite:esbuild] Transform failed with 1 error:
/node_modules/.pnpm/@slidev+client@0.49.24_@nuxt+kit@3.12.4_rollup@4.20.0__@vue+compiler-sfc@3.4.37_postcss@8.4.4_grj2rorcnuejj5vrm5hzie3tem/node_modules/@slidev/client/internals/SlideLoading.vue?vue&type=script&setup=true&lang.ts:1:8: ERROR: Expected ">" but found "setup"
file: /node_modules/.pnpm/@slidev+client@0.49.24_@nuxt+kit@3.12.4_rollup@4.20.0__@vue+compiler-sfc@3.4.37_postcss@8.4.4_grj2rorcnuejj5vrm5hzie3tem/node_modules/@slidev/client/internals/SlideLoading.vue?vue&type=script&setup=true&lang.ts:1:8

Expected ">" but found "setup"
1 | <script setup lang="ts">
| ^
2 | import { onMounted, ref } from 'vue'

@KermanX
Copy link
Member

KermanX commented Aug 9, 2024

Cannot be reproduced on my machine. Could you reproduce this in https://sli.dev/new?

@antfu
Copy link
Member

antfu commented Aug 12, 2024

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

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

No branches or pull requests

3 participants