Skip to content

[Support] 运行test时出现错误 Cannot find module 'typeorm' #3463

Answered by fenglekai
fenglekai asked this question in Q&A
Discussion options

You must be logged in to vote

我找到问题了,因为我使用的是pnpm安装的依赖,在一些目录层级下出现问题。我改用npm去安装依赖后解决

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@fenglekai
Comment options

@fenglekai
Comment options

Answer selected by fenglekai
@czy88840616
Comment options

@fenglekai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion No update status for a long time No update status for a long time
2 participants