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
当项目路径包含单引号 ' 时(例如 C:/Users/Jeri'o/...),Umi 自动生成的 polyfill.ts 文件中的导入路径字符串会因未转义单引号导致语法错误,具体报错如下:
npm install > ant-design-pro@6.0.0-beta.1 postinstall > max setup info - [你知道吗?] 编写 src/loading.(jsx|tsx) 可以自定义页面的加载动画。 info - generate files fatal - SyntaxError: ....../polyfill.ts: Missing semicolon. (3:22) 1 | 2 | import 'core-js'; > 3 | import 'C:/Users/Jeri'o/Desktop/project/....../frontend/node_modules/@umijs/preset-umi/node_modules/regenerator-runtime/runtime.js'; | ^ 4 | export {}; 5 | at constructor (C:\Users\......
npx create-umi@latest
项目github仓库:https://github.com/leelynnjaytop/umi 在线复现链接:https://1024code.com/~lilinjie/nry6osa
The text was updated successfully, but these errors were encountered:
由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。
Sorry, something went wrong.
No branches or pull requests
What happens?
当项目路径包含单引号 ' 时(例如 C:/Users/Jeri'o/...),Umi 自动生成的 polyfill.ts 文件中的导入路径字符串会因未转义单引号导致语法错误,具体报错如下:
How To Reproduce
npx create-umi@latest
项目github仓库:https://github.com/leelynnjaytop/umi
在线复现链接:https://1024code.com/~lilinjie/nry6osa
Context
可能的解决方案建议
The text was updated successfully, but these errors were encountered: