You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: src\app.scss: Call retries were exceeded
transform[stderr]: D:\stu\react\native\cashapp\node_modules\metro-transform-worker\node_modules\metro-hermes-compiler\src\emhermesc.js:77
transform[stderr]: throw ex;
transform[stderr]: ^
transform[stderr]:
transform[stderr]: Invalid argument(s): Uri d:%5Cstu%5Creact%5Cnative%5Ccashapp%5Csrc%5Cstyle%5Cindex.scss must have scheme 'file:'.
transform[stderr]: at Object.wrapException (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:1240:17)
transform[stderr]: at WindowsStyle.pathFromUri$1 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:33233:17)
transform[stderr]: at StaticClosure.fromUri (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:16172:37)
transform[stderr]: at Object.NullableExtension_andThen0 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:18507:40)
transform[stderr]: at Object._wrapException (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:13056:14)
transform[stderr]: at _render_closure1.call$2 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:82010:21)
transform[stderr]: at _RootZone.runBinary$3$3 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:27550:18)
transform[stderr]: at _FutureListener.handleError$1 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:26099:19)
transform[stderr]: at _Future__propagateToListeners_handleError.call$0 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:26397:49)
transform[stderr]: at Object._Future__propagateToListeners (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:4550:77) {
transform[stderr]: dartException: <ref *1> ArgumentError {
相关平台
React Native
使用框架: React
复现步骤
在app.scss文件
@import "~taro-ui/dist/style/index.scss";
期望结果
编译正常
实际结果
error: src\app.scss: Call retries were exceeded
transform[stderr]: D:\stu\react\native\cashapp\node_modules\metro-transform-worker\node_modules\metro-hermes-compiler\src\emhermesc.js:77
transform[stderr]: throw ex;
transform[stderr]: ^
transform[stderr]:
transform[stderr]: Invalid argument(s): Uri d:%5Cstu%5Creact%5Cnative%5Ccashapp%5Csrc%5Cstyle%5Cindex.scss must have scheme 'file:'.
transform[stderr]: at Object.wrapException (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:1240:17)
transform[stderr]: at WindowsStyle.pathFromUri$1 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:33233:17)
transform[stderr]: at StaticClosure.fromUri (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:16172:37)
transform[stderr]: at Object.NullableExtension_andThen0 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:18507:40)
transform[stderr]: at Object._wrapException (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:13056:14)
transform[stderr]: at _render_closure1.call$2 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:82010:21)
transform[stderr]: at _RootZone.runBinary$3$3 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:27550:18)
transform[stderr]: at _FutureListener.handleError$1 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:26099:19)
transform[stderr]: at _Future__propagateToListeners_handleError.call$0 (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:26397:49)
transform[stderr]: at Object._Future__propagateToListeners (D:\stu\react\native\cashapp\node_modules@tarojs\rn-style-transformer\node_modules\sass\sass.dart.js:4550:77) {
transform[stderr]: dartException: <ref *1> ArgumentError {
环境信息
补充信息
Taro v3.4.3
The text was updated successfully, but these errors were encountered: