Mac上执行npm install时出现gyp ERR错误
执行npm install 出错
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/lianyz/projects/go-projects/gin-vue-admin/QMPlusVuePage/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Darwin 19.5.0
gyp ERR! command "/usr/local/Cellar/node/14.7.0/bin/node" "/Users/lianyz/projects/go-projects/gin-vue-admin/QMPlusVuePage/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/lianyz/projects/go-projects/gin-vue-admin/QMPlusVuePage/node_modules/node-sass
gyp ERR! nod