Uncaught FrameworkError module 'prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss.js' is not defined, require args is './prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss' Error: module 'prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss.js' is not defined, require args is './prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss' #1468
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
"@nutui/nutui-react-taro": "^2.0.17"
我根据文档正常引入会报一个错误,提示Uncaught FrameworkError

module 'prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss.js' is not defined, require args is './prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss'
Error: module 'prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss.js' is not defined, require args is './prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss'
然后加载不出来东西,当在build的dist中的app.js把require("./prebundle/vendors-node_modules_taro_weapp_prebundle_nutui_nutui-react-taro_js.wxss");这一行代码注释掉之后即可正常使用,这是为什么呢?
Beta Was this translation helpful? Give feedback.
All reactions