这是为什么 [code]
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
这是为什么
codeCannot find module '@destyler/shared-private/svelte' or its corresponding type declarations.ts(2307) Assistant
[tool: copilot_listDirectory — Tool use: copilot_listDirectory]
[tool: copilot_listDirectory — Tool use: copilot_listDirectory]
[tool: copilot_findTextInFiles — Tool use: copilot_findTextInFiles • 正在搜索
shared-private的文本][tool: copilot_listDirectory — Tool use: copilot_listDirectory]
[tool: copilot_readFile — Tool use: copilot_readFile • 正在读取 ]
我来帮你分析这个模块导入错误的问题。让我先检查一下相关的文件结构和包配置。
- User
@agent 重试
Assistant
- User
我的计划是让
packages/components/**/examples和packages/components/**/storybook下的文件是享受 根目录下的 storybook 的 tsconfig Assistant
[tool: copilot_readFile — Tool use: copilot_readFile • 正在读取 ]
[tool: copilot_listDirectory — Tool use: copilot_listDirectory]
[tool: copilot_readFile — Tool use: copilot_readFile • 正在读取 ]
[tool: copilot_readFile — Tool use: copilot_readFile • 正在读取 ]
[tool: copilot_replaceString — Tool use: copilot_replaceString]
- User
但是为什么我的 astro 依然还有类型的错误,例如
code文件“/Users/[user]/Developer/destyler-package/destyler/packages/components/checkbox/examples/svelte/Checkbox.svelte”不是模块。 Is the `@astrojs/svelte` package installed? You can add it to your project by running the following command: `astro add svelte`. If already installed, restarting the language server might be necessary in order for the change to take effect.ts(2306) Assistant
- User
可是
astro.configPath不存在啊 Assistant
[tool: vscode_searchExtensions_internal — Tool use: vscode_searchExtensions_internal]
[tool: copilot_fetchWebPage — Tool use: copilot_fetchWebPage]
[tool: vscode_fetchWebPage_internal — Tool use: vscode_fetchWebPage_internal]
[tool: copilot_replaceString — Tool use: copilot_replaceString]
[tool: copilot_getErrors — Tool use: copilot_getErrors]
[tool: run_in_terminal — Tool use: run_in_terminal]
[tool: run_in_terminal — Tool use: run_in_terminal]