material-ui 当父目录包含空格时,网站无法构建,

1bqhqjot  于 2个月前  发布在  其他
关注(0)|答案(6)|浏览(25)

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example:
Steps: Please follow the contribution.md to reproduce this issue.

  1. Fork the repository
  2. Clone the project and synchronize with the MUI repo
  3. build the website with yarn start and open localhost

Current behavior 😯

Expected behavior 🤔

The build should run normally without errors !

Context 🔦

  • No response*

Your environment 🌎

npx @mui/envinfo

Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
mrfwxfqh

mrfwxfqh2#

看起来您的个人资料名称中的空格导致了问题。请将源文件移动到另一个目录并再次尝试。@OmkarK97,如果您想深入研究我们的基础设施代码并修复此问题,请随意进行。

bwitn5fc

bwitn5fc3#

好的,我会去做的。

envsm3lx

envsm3lx4#

我认为在设置过程中遇到了一些错误,我无法找到错误发生的具体文件。你能帮我解决一下吗@michaldudak?

ukqbszuj

ukqbszuj5#

你能复现这个bug吗?
我尝试按照步骤复现,但是对我来说没问题。

svdrlsy4

svdrlsy46#

@OmkarK97 我怀疑这个bug在我们使用的markdown解析器(/packages/markdown)中。由于这是一个低影响的问题,有一个简单的解决方法,所以我没有能力进一步调查这个问题。
@npiyush97 当源代码被检出到一个包含空格的目录时,会出现这个bug(我只在Windows上验证过)。当你运行yarn start并打开一个组件文档页面(例如http://localhost:3000/material-ui/react-text-field/)时,网站会崩溃。

相关问题