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

tsc && vite build ;Report node_modules/@antv/x6/**/*.ts errors #4138

Closed
hsbtr opened this issue Jan 5, 2024 · 5 comments
Closed

tsc && vite build ;Report node_modules/@antv/x6/**/*.ts errors #4138

hsbtr opened this issue Jan 5, 2024 · 5 comments
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions

Comments

@hsbtr
Copy link

hsbtr commented Jan 5, 2024

Describe the bug

image
image
Packaging is directly interrupted. Is there any way to avoid it?

Your Example Website or App

https://github.com/hsbtr/my-vite-react

Steps to Reproduce the Bug or Issue

tsc && vite build
or
This error will be reported when used in create-react-app

Expected behavior

No error reported

Screenshots or Videos

no

Platform

@antv/[email protected]
@antv/[email protected]

Additional context

no

@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 5, 2024

👋 @hsbtr

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@hsbtr
Copy link
Author

hsbtr commented Jan 7, 2024

Supplement; typescript5.x

@cyrilluce
Copy link
Contributor

为什么你引用到了 src 目录下的文件? 按道理应该是 lib 或 es 目录的

@hsbtr
Copy link
Author

hsbtr commented Jan 9, 2024

为什么你引用到了 src 目录下的文件? 按道理应该是 lib 或 es 目录的

昨天下午发现了,今台正准备关闭该问题,注册元素的时候有个声明从注册方法源码里瞧,造成了这个大乌龙,后面才发现使用Node就可以了。非常感谢回复此问题

Snipaste_2024-01-08_09-08-17

@NewByVector NewByVector added the type: discussion 讨论 Usage questions, guidance, and other discussions label Jan 9, 2024
@hsbtr hsbtr closed this as completed Jan 17, 2024
@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 17, 2025

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jan 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions
Projects
None yet
Development

No branches or pull requests

3 participants