stf icon indicating copy to clipboard operation
stf copied to clipboard

作者还更新吗,在macos12.6.3没法使用,在npm install后会报错

Open gawinwong opened this issue 2 years ago • 2 comments

npm ERR! SyntaxError: EOL while scanning string literal
npm ERR! gyp ERR! configure error 
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/Users/gawinwong/work/wda-multi-control/stf/node_modules/node-gyp/lib/configure.js:345:16)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Darwin 21.6.0
npm ERR! gyp ERR! command "/usr/local/Cellar/node/19.8.0/bin/node" "/Users/gawinwong/work/wda-multi-control/stf/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /Users/gawinwong/work/wda-multi-control/stf/node_modules/bufferutil
npm ERR! gyp ERR! node -v v19.8.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok

gawinwong avatar Mar 15 '23 16:03 gawinwong

解决了,把node换成node8.x的版本

gawinwong avatar Mar 18 '23 03:03 gawinwong

楼主有联系方式吗?好像没交流群 遇到好多问题自己排查不出来,本人新手,头都大了。。。

JaminZhang avatar Mar 19 '23 01:03 JaminZhang