alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.17k stars 419 forks source link

nosmoke安装成功,但是无法执行nosmoke --help #873

Closed 123tanliheng closed 5 years ago

123tanliheng commented 5 years ago
macaca-bot commented 5 years ago

This is the translated issue:


Nosmoke installed successfully, but can't execute nosmoke --help

123tanliheng commented 5 years ago

C:\Users\tlh>nosmoke --help internal/modules/cjs/loader.js:582 throw err; ^

Error: Cannot find module 'macaca-reporter/test/mock' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:506:25) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (C:\Program Files\Nodejs\node_global\node_modules\nosmoke\lib\server\router.js:14:17) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3)

SamuelZhaoY commented 5 years ago

安装最新版 NoSmoke

macaca-bot commented 5 years ago

This is the translated issue comment: @SamuelZhaoY


Install the latest version of NoSmoke