vue2 project, after upgrading @rsbuild/[email protected]>1.2.12, [rspack:mock] TypeError: rawData.filter is not a function appears when running the project #4834
Alanz-design
started this conversation in
General
Replies: 1 comment 1 reply
-
I think this should be an issue at the Rspack level. Can you provide a reproduction repo and create an issue in the Rspack repository? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在将 @rsbuild/core 升级至1.2.12 后启动项目 rspack-plugin-mock 出现报错导致mock服务出现500异常:
10:40:51 [rspack:mock] TypeError: rawData.filter is not a function
at transformRawData (file:///D:/vue-frame/rsbuild/vue-web-admin/node_modules/rspack-plugin-mock/dist/chunk-OGWV5ZGG.js:117:18)
at file:///D:/vue-frame/rsbuild/vue-web-admin/node_modules/rspack-plugin-mock/dist/chunk-HV5L72CY.js:397:44
at async Watching.handler (file:///D:/vue-frame/rsbuild/vue-web-admin/node_modules/rspack-plugin-mock/dist/chunk-HV5L72CY.js:66:5)
在 @rsbuild/[email protected] 版本中未出现这个报错。
运行环境:node版本:18.20.4,版本依赖:vue2版本:2.7.16,@rsbuild/plugin-vue2:1.0.2
Beta Was this translation helpful? Give feedback.
All reactions