xun082 / create-neat

🚀🚀🚀 Developed a front-end scaffold based on PNPM and Turborepo, aimed at quickly creating various types of projects for users.
MIT License
460 stars 131 forks source link

mac 在权限不足的时候会出现不能正常报错而且一直加载的情况。 #251

Closed DDZD20 closed 2 months ago

DDZD20 commented 3 months ago

Current behavior

直接使用 npx create-neat my-app 时,配置项可正常选择,但是安装依赖和生产 main.js 文件会出错,且一直加载。

image image

而使用sudo npx create-neat my-app 时一切正常,另外测试了一下 create-react-app 没有出现类似问题。

Minimum reproduction code

npx create-neat my-app

Steps to reproduce

No response

Expected behavior

希望能正常显示权限不足报错信息并退出。

Package version

npm 10.7.0

Template Package

react-web-ts

Node.js version

No response

In which operating systems have you tested?

Other

No response