尝试在 Publisher 中进行高级自定义 UI 时如何解决 NPM 错误

问题描述

我们按照使用以下链接 https://apim.docs.wso2.com/en/latest/reference/customize-product/customizations/advanced-ui-customization/链接中所述,我们尝试安装 npm 并运行 npm run bootstrap,最后当我们尝试运行此命令时 npm run build:dev 我们面临

"./node_modules/@material-ui/core/esm/styles/createPalette.js 中的错误 模块构建失败(来自 ./node_modules/babel-loader/lib/index.js): SyntaxError: C:\Users\931849\Downloads\wso2am-4.0.0\repository\deployment\server\jaggeryapps\publisher\node_modules@material-ui\core\esm\styles\createPalette.js: 意外令牌,应为“,” (174:319)"

这个错误。我们需要一些指导来自定义发布商的用户界面。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)