npm 安裝 uirecorder 報錯 Unexpected token
npm安裝uirecorder,報錯:
renzhicheng:node_modules renzhicheng$ npm i uirecorder -g
npm WARN deprecated request@2.79.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@2.0.6: this library is no longer supported
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
typechecker@2.0.8 preinstall /usr/local/lib/node_modules/uirecorder/node_modules/extract-opts/node_modules/typechecker
node ./cyclic.jstypechecker@2.0.8 preinstall /usr/local/lib/node_modules/uirecorder/node_modules/extendr/node_modules/typechecker
node ./cyclic.js
/usr/local/bin/uirecorder -> /usr/local/lib/node_modules/uirecorder/bin/uirecorder
chromedriver@87.0.5 install /usr/local/lib/node_modules/uirecorder/node_modules/chromedriver
node install.js
/usr/local/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:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/uirecorder/node_modules/del/index.js:4:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chromedriver@87.0.5 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@87.0.5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/renzhicheng/.npm/_logs/2021-01-11T08_27_51_977Z-debug.log
我的環境:
macaca-doctor version: 2.0.18
Node.js checklist:
node env: /usr/local/bin/node
node version: v8.11.1
iOS checklist:
macOS version: 10.14.6
Xcode Command Line Tools is ready, version: 2354.
xcodebuild version: 11.3
iproxy[usbmuxd] is installed at: /opt/local/bin/iproxy
ios_webkit_debug_proxy is installed at: /usr/local/bin/ios_webkit_debug_proxy
Android checklist:
JAVA version is 1.8
JAVA_HOME is set to /Library/java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
ANDROID_HOME is set to /Users/renzhicheng/Library/Android/sdk
Platforms is set to /Users/renzhicheng/Library/Android/sdk/platforms/android-30
ADB tool is set to /Users/renzhicheng/Library/Android/sdk/platform-tools/adb
gradle is installed, version: 6.8
Installed driver list:
android: 2.2.1
location: /usr/local/lib/node_modules/macaca-android
ios: 2.1.0
location: /usr/local/lib/node_modules/macaca-ios
相關文章
- npm包全域性安裝報錯NPM
- JN專案-Hibernate報錯unexpected token: select
- shell 指令碼報錯^M: syntax error near unexpected token指令碼Error
- npm install 安裝外掛報錯NPM
- npm ERR! Unexpected token in JSON at position 0 while parsing near ’ npm ERR! <!–////////NPMJSONWhile
- 使用npm install安裝webpack報錯ERRNPMWeb
- npm install 安裝報錯解決方案NPM
- jquery Ajax 請求錯誤 Unexpected tokenjQuery
- vscode使用npm安裝依賴報錯VSCodeNPM
- jq jsonp跨域報錯之“Unexpected token :”的解決方案JSON跨域
- 解決vue-cli element-ui打包報錯Unexpected token: operator (>)VueUI
- webpack打包vue檔案時報錯`Unexpected token:`WebVue
- composer安裝yii過程token報錯:for future use by Composer.Token (hidden):
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- 關於npm install安裝報錯的解決辦法NPM
- Uncaught SyntaxError: Unexpected token <反思Error
- syntax error near unexpected token `Error
- 安裝npm報錯,安裝淘寶映象cnpm時出現問題及解決方案NPM
- 解決 eslint 的 Parsing error: Unexpected token 錯誤EsLintError
- npm 安裝錯誤及處理方法NPM
- vue init webpack-simple 和安裝elementui後 npm run dev報錯VueWebUINPMdev
- jwt生成token報錯JWT
- npm安裝NPM
- 11.2.0.1安裝grid報錯: [INS-20702] Unexpected internal driver errorError
- 安裝ionic 報錯 安裝canvas報錯 解決辦法Canvas
- NPM run dev 報錯NPMdev
- nginx安裝報錯Nginx
- 安裝VUE報錯Vue
- 完美解決 Uncaught SyntaxError: Unexpected token ‘<‘Error
- npm run build打包報錯 npm: should be >= 3.0.0NPMUI
- npm 或 yarn安裝依賴報錯 EPERM: operation not permitted, unlink 解決方法NPMYarnMIT
- CentOS7使用exp/imp時報錯:bash: syntax error near unexpected token `(CentOSError
- Nodejs的npm安裝模組時候報錯:npm ERR! Error: CERT_UNTRUSTED的解決方法NodeJSNPMErrorRust
- Appium+python自動化54-appium-doctor報錯已解決(SyntaxError: Unexpected token ...)APPPythonError
- vue踩坑記-在專案中安裝依賴模組npm install報錯VueNPM
- snipMate安裝後報錯
- 安裝heapster報錯
- npm 包安裝位置NPM