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

使用typeorm,在window打包运行,TypeError: Class extends value undefined is not a constructor or null #430 使用typeorm,在窗口打包运行,TypeError: Class extends value undefined is not a constructor or null #702

Open
4 tasks done
liangleiA opened this issue Jan 23, 2025 · 1 comment

Comments

@liangleiA
Copy link

Describe the bug

1 . 使用pnpm 打包不正常 ,切换npm打包后正常.
2. pnpm 开启 node-linker=hoisted 重新安装后打包正常, 去掉不正常

使用
import {DataSource} from 'typeorm';
console.log(DataSource)

Electron-Vite Version

2.3.0

Electron Version

31.0.2

Vite Version

5.3.1

Validations

@alex8088
Copy link
Owner

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

2 participants