gyp: No Xcode or CLT version detected!

npm install 安裝依賴包報以下錯誤 解決方法 Mac升級到High sierra 後,發現執行使用npm 或者yarn 的時候,不時會報gyp: No Xcode or CLT version detected! 的錯誤, 緣由是缺了xcode 的CLI 工具, 只要執行下面的命令來安裝就能夠了。web sudo xcode-select --installnpm
相關文章
相關標籤/搜索