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://images.cnblogs.com/cnblogs_com/qianjinyan/910455/o_jasmine%20love.gif)