UI 自动化测试 Macaca测试框架 安装时遇到的log

https://macacajs.github.io/zh/environment-setup

macaca run -d ./macaca-test/desktop-browser-sample.test.js --verbose


npm WARN checkPermissions Missing write access to


C:\Users\jasqia.AP\AppData\Roaming\npm\node_modules\macaca-cli\node_modules\ansi-to-html


macaca run -d ./test/macaca-chromedriver.test.js --verbose


C:\Users\jasqia.AP>npm -vesion

Usage: npm <command>

where <command> is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
explore, get, help, help-search, i, init, install,
install-test, it, link, list, ln, login, logout, ls,
outdated, owner, pack, ping, prefix, profile, prune,
publish, rb, rebuild, repo, restart, root, run, run-script,
s, se, search, set, shrinkwrap, star, stars, start, stop, t,
team, test, token, tst, un, uninstall, unpublish, unstar,
up, update, v, version, view, whoami

npm <command> -h quick help on <command>
npm -l display full usage info
npm help <term> search for help on <term>
npm help npm involved overview

Specify configs in the ini-formatted file:
C:\Users\jasqia.AP\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@5.6.0 C:\Program Files\nodejs\node_modules\npm

 


C:\Users\jasqia.AP>npm config get prefix
C:\Users\jasqia.AP\AppData\Roaming\npm

C:\Users\jasqia.AP>npm config get cache
C:\Users\jasqia.AP\AppData\Roaming\npm-cache


C:\Users\jasqia.AP>node -v
v8.10.0

C:\Users\jasqia.AP>npm -v
5.6.0

C:\Users\jasqia.AP>appium -v
'appium' is not recognized as an internal or external command,
operable program or batch file.

 

D:\LearnMacaca02>npm i macaca-chrome -g
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie h
ttps://nodesecurity.io/advisories/130

> macaca-chromedriver@1.0.41 install C:\Users\jasqia.AP\AppData\Roaming\npm\node
_modules\macaca-chrome\node_modules\macaca-chromedriver
> node ./bin/macaca-chromedriver install

>> version: 2.33
>> chromedriver cdn url: https://chromedriver.storage.googleapis.com/2.33/chrome
driver_win32.zip
>> chromedriver local in C:\Users\jasqia.AP\AppData\Roaming\npm\node_modules\mac
aca-chrome\node_modules\macaca-chromedriver\exec\chromedriver2.33.exe
+ macaca-chrome@1.0.7
updated 27 packages in 249.729s

转载于:https://www.cnblogs.com/qianjinyan/p/9530636.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值