We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@taroify/core, @taroify/icons
H5
No response
0.4.1-alpha.0
终端运行pnpm dev:h5后,提示一堆警告:
pnpm dev:h5
WARNING in ./node_modules/.pnpm/@taroify+core@0.4.1-alpha.0_@tarojs+components@4.0.6_@tarojs+helper@4.0.6_@tarojs[email protected].ze3q5jc6iqwygtuycfbcmknu2e/node_modules/@taroify/core/action-sheet/index.scss (./node_modules/.pnpm/[email protected][email protected]@swc[email protected]_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[2].use[0]!./node_modules/.pnpm/[email protected][email protected][email protected]_webpack@5.95.0_@swc[email protected]_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[0]!./node_modules/.pnpm/[email protected]/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/[email protected][email protected]_webpack@5.95.0_@swc[email protected]_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[5].use[1]!./node_modules/.pnpm/@taroify+core@0.4.1-alpha.0_@tarojs+components@4.0.6_@tarojs+helper@4.0.6_@tarojs[email protected].ze3q5jc6iqwygtuycfbcmknu2e/node_modules/@taroify/core/action-sheet/index.scss) Module Warning (from ./node_modules/.pnpm/[email protected][email protected][email protected]@swc[email protected]_/node_modules/sass-loader/dist/cjs.js): Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/legacy-js-api
None
The text was updated successfully, but these errors were encountered:
这个应该是你安装的 sass 版本问题,Taroify 不做 sass 编译,完全依靠 Taro 框架。
sass
Taroify
Taro
Sorry, something went wrong.
我也遇到了,但是我启用的是less,不知道为什么报这个错
@Pilotager 我的taro框架是最新版本4.0.6,但是我重新安装[email protected]问题依然存在,我的项目里面没有安装sass,但是这个警告确实是提示的taroify+core和taroify+icon,我尝试在本地项目中使用pnpm add [email protected] -D安装旧版本的sass,警告消失
taro
4.0.6
[email protected]
taroify+core
taroify+icon
pnpm add [email protected] -D
No branches or pull requests
问题出在哪个包
@taroify/core, @taroify/icons
问题出在哪个平台/设备/浏览器
H5
平台/设备/浏览器
No response
你正在使用的 Taroify 版本是多少
0.4.1-alpha.0
描述一下您遇到的问题以及重现步骤
终端运行
pnpm dev:h5
后,提示一堆警告:WARNING in ./node_modules/.pnpm/@taroify+core@0.4.1-alpha.0_@tarojs+components@4.0.6_@tarojs+helper@4.0.6_@tarojs[email protected].ze3q5jc6iqwygtuycfbcmknu2e/node_modules/@taroify/core/action-sheet/index.scss (./node_modules/.pnpm/[email protected][email protected]@swc[email protected]_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].oneOf[2].use[0]!./node_modules/.pnpm/[email protected][email protected][email protected]_webpack@5.95.0_@swc[email protected]_/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[0]!./node_modules/.pnpm/[email protected]/node_modules/resolve-url-loader/index.js!./node_modules/.pnpm/[email protected][email protected]_webpack@5.95.0_@swc[email protected]_/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[5].use[1]!./node_modules/.pnpm/@taroify+core@0.4.1-alpha.0_@tarojs+components@4.0.6_@tarojs+helper@4.0.6_@tarojs[email protected].ze3q5jc6iqwygtuycfbcmknu2e/node_modules/@taroify/core/action-sheet/index.scss)
Module Warning (from ./node_modules/.pnpm/[email protected][email protected][email protected]@swc[email protected]_/node_modules/sass-loader/dist/cjs.js):
Deprecation The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/legacy-js-api
如果可能的话,请包含一个代码框的链接与复制的问题
No response
你知道如何解决这个问题吗
None
您是否愿意参与修复这个问题,并创建一个 PR
None
修复这个问题的解决方案
No response
The text was updated successfully, but these errors were encountered: