uirecorder icon indicating copy to clipboard operation
uirecorder copied to clipboard

npm install uirecorder mocha -g安装失败

Open fjibj opened this issue 2 years ago • 0 comments

node:8.15.0 chrome: Version 99.0.4844.82 (Official Build) (64-bit)

执行到安装chromedriver时失败

[email protected] install /usr/local/node/node_modules/lib/node_modules/uirecorder/node_modules/chromedriver node install.js

/usr/local/node/node_modules/lib/node_modules/uirecorder/node_modules/globby/index.js:28 } catch { ^

SyntaxError: Unexpected token { at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:617:28) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object. (/usr/local/node/node_modules/lib/node_modules/uirecorder/node_modules/del/index.js:4:16) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

fjibj avatar Sep 14 '22 00:09 fjibj