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

Problem with jpeg #4

Open
doriwal opened this issue Jun 17, 2013 · 2 comments
Open

Problem with jpeg #4

doriwal opened this issue Jun 17, 2013 · 2 comments

Comments

@doriwal
Copy link

doriwal commented Jun 17, 2013

in adb.js file the line

Image = require('jpeg').Jpeg;

return error

Caught exception: Error: Cannot find module 'jpeg'
Error: Cannot find module 'jpeg'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at AndroidFrame.writeImageFile (C:\web-workspace\node\node_modules\adb\adb.js:414:17)
at C:\web-workspace\node\node_modules\adb\adb.js:459:19
at Socket. (C:\web-workspace\node\node_modules\adb\adb.js:296:21)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket. (_stream_readable.js:720:14)
at Socket.EventEmitter.emit (events.js:92:17)

@DanH42
Copy link

DanH42 commented Oct 4, 2013

I'm seeing this error as well on the current version. It's thrown every time var DebugBridge = require('adb').DebugBridge; is called, as well as device.takeSnapshot.

@sidorares
Copy link

npm install jpeg - might worth adding it at least to "optional dependencies"

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

3 participants