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

打包提示[vite:dts] The argument 'path' must be a string or Uint8Array without null bytes. commonjsHelpers.js #46

Closed
ekxs0109 opened this issue Nov 30, 2021 · 5 comments

Comments

@ekxs0109
Copy link

image

@qmhc
Copy link
Owner

qmhc commented Nov 30, 2021

能否提供一个复现问题的仓库,或者提供发生该问题的项目的 vite.config.ts 以及 tsconfig.json 等配置文件。

@ekxs0109
Copy link
Author

能否提供一个复现问题的仓库,或者提供发生该问题的项目的 vite.config.ts 以及 tsconfig.json 等配置文件。

https://gist.github.com/hjklink/91cf8bd2743ad42f53e92daeb57e09af

这个地址

@ekxs0109
Copy link
Author

tsconfig.json 配置 "allowJs": true, 错误。

@ihatake
Copy link

ihatake commented Dec 2, 2021

tsconfig.json 配置 "allowJs": true, 错误。

设置为false后,没有生成声明文件了

@MaybeQHL
Copy link

tsconfig.json 配置 "allowJs": true, 错误。

设置为false后,没有生成声明文件了

我也是

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

No branches or pull requests

4 participants