solus下 修改 crate-react-app 的默认下载依赖方式为 yarn

vim /usr/local/share/.config/yarn/global/node_modules/create-react-app/createReactApp.js

 

或者是 修改 /usr/lib/node_modules/create-react-app/createReactApp.js

 

将该脚本中的 yarnpkg 替换为 yarn

 

posted on 2017-08-27 17:49  Lemo_wd  阅读(601)  评论(0编辑  收藏  举报

导航