Skip to content
New issue

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

求助,项目启动报错,win7下没问题,切换到macOs就报错 #2576

Closed
congceng999 opened this issue Jun 11, 2019 · 6 comments
Closed

Comments

@congceng999
Copy link

win7正常启动,macOs10.14.1启动报错:
fs.js:114 throw err;
Error: ENOENT: no such file or directory,

大神们,帮我看一下为什么,node_moudles删了好多次了,没用

  • Umi 2.7:
  • Node v10.16.0:
    1560256049538
@sorrycc
Copy link
Member

sorrycc commented Jun 11, 2019

未命名文件夹 3 改成英文,并且不要空格试试。

@congceng999
Copy link
Author

未命名文件夹 3 改成英文,并且不要空格试试。

一样的报错,刚试过了。。。。。

@congceng999
Copy link
Author

未命名文件夹 3 改成英文,并且不要空格试试。

一样的报错,刚试过了。。。。。

1560266692281

@sorrycc
Copy link
Member

sorrycc commented Jun 11, 2019

给可复现的仓库。

@sorrycc
Copy link
Member

sorrycc commented Jun 11, 2019

set xxx 是 windows 下的使用方式,换成 mac/linux 的。

@congceng999
Copy link
Author

set xxx 是 windows 下的使用方式,换成 mac/linux 的。

换成export 成功启动项目 谢谢cc大神

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants