Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行错误Cannot find module 'mjpeg-consumer' #7

Open
haxx12113 opened this issue Jul 10, 2019 · 1 comment
Open

运行错误Cannot find module 'mjpeg-consumer' #7

haxx12113 opened this issue Jul 10, 2019 · 1 comment

Comments

@haxx12113
Copy link

[D 190710 10:42:24 heartbeat:88] websocket send: {'udid': 'fa22e915edd5932b7dbad053fbab506651a1fead', 'provider': {'wdaUrl': 'http://10.211.55.3:20002'}, 'properties': {'ip': '10.168.1.172', 'version': '12.3.1', 'sdkVersion': '12.2'}, 'command': 'update', 'platform': 'apple'}
internal/modules/cjs/loader.js:628
throw err;
^

Error: Cannot find module 'mjpeg-consumer'
Require stack:

  • /Users/virtual/Desktop/atxserver2/atxserver2-ios-provider/wdaproxy.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object. (/Users/virtual/Desktop/atxserver2/atxserver2-ios-provider/wdaproxy.js:16:23)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:839:10) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/Users/virtual/Desktop/atxserver2/atxserver2-ios-provider/wdaproxy.js'
    ]
    }
    [D 190710 10:43:25 idb:261] [fa22e..ad:“hp”的 iPhone-iPhone 7 Plus] is fine

尝试通过npm install mjpeg-consumer 也是无法安装这个模块

@codeskyblue
Copy link
Member

试试 node8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants