gyp ERR! stack at ChildProcess.exithandler (child_process.js:383:12)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at maybeClose (internal/child_process.js:1088:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
gyp ERR! System Windows_NT 10.0.22000
gyp ERR! command “D:\env\node14\node-v14.19.3-win-x64\node.exe” “D:\proj\react\react-admin\node_modules\node-gyp\bin\node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
gyp ERR! cwd D:\proj\react\react-admin\node_modules\node-sass
gyp ERR! node -v v14.19.3
gyp ERR! node-gyp -v v3.8.0
每次遇到sass 总要出问题,yarn不行
用cnpm i 就顺利了
而且需要 node版本 , gyp ERR! node -v v14.19.3