npm install yarn -g // 到指定文件夾 yarn init // 生成package.json文件
yarn init報錯 Can't answer a question unless a user TTYgit
使用cmd或者powerShell 不要用git bashnpm