You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a ikun-ui issue and not a framework-specific issue. For example, if it's a Svelte SFC related bug, it should likely be reported to https://github.com/sveltejs/svelte instead.
Describe the bug
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
virtual:uno.css (imported by "src/App.svelte")
[!] (plugin svelte) ParseError: Unexpected token
node_modules/.pnpm/@ikun-ui[email protected][email protected][email protected]/node_modules/@ikun-ui/button-group/dist/index.svelte
1: <script lang="ts">
2: import type { KButtonGroupProps } from './types';
^
3: import { getPrefixCls, buttonGroupKey } from '@ikun-ui/utils';
4: import { setContext } from 'svelte';
at error (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:14256:16)
at Parser.error (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:14404:3)
at Parser.acorn_error (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:14391:8)
at Object.read_script [as read] (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:9690:10)
at tag (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:13071:27)
at new Parser (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:14352:12)
at parse (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:14529:17)
at Object.compile (/home/svelte/node_modules/.pnpm/[email protected]/node_modules/svelte/compiler.cjs:45620:14)
at Object.transform (/home/svelte/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/rollup-plugin-svelte/index.js:164:28)
at /home/svelte/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/shared/rollup.js:1914:40
Reproduction
http://123.207.254.186:10000/shiguangwu/svelte
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: