Skip to content

找不到模块“@tarojs/components-advanced”或其相应的类型声明。ts(2307) #15136

Answered by ZakaryCode
linzhou559 asked this question in Q & A
Discussion options

You must be logged in to vote

你使用了 @tarojs/components-advanced 这个依赖,就需要安装它呀,这不是需要说明的内容,根据 pnpm 的规则就是如此,需要显示的声明所有的依赖,在包括 npm 在内的其它包管理器也是如此,只是大多数时候它们也会默认安装允许你隐式引入相关依赖,但这是不安全的。

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@vsEcho567
Comment options

Answer selected by linzhou559
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q & A
Labels
V-3 Version - 3.x F-react Framework - React T-weapp Target - 编译到微信小程序 resolved A-components-advanced Area - 高阶组件
3 participants
Converted from issue

This discussion was converted from issue #15123 on January 19, 2024 05:23.