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

Object #<OutEndpoint> has no method 'startStream' #5

Open
armaseg opened this issue Jul 30, 2015 · 2 comments
Open

Object #<OutEndpoint> has no method 'startStream' #5

armaseg opened this issue Jul 30, 2015 · 2 comments

Comments

@armaseg
Copy link

armaseg commented Jul 30, 2015

I'm trying to execute "npm test" and I'm getting the folowing error.

> grunt nodeunit

Running "nodeunit:all" (nodeunit) task
Testing printer-test.js.F.
>> testPrint
>> TypeError: Object #<OutEndpoint> has no method 'startStream'
>> at Printer.print (lib/printer.js:151:10)
>> at Object.exports.testPrint (test/printer-test.js:20:10)

Fatal error: Object #<OutEndpoint> has no method 'startStream'

Please, may you help to solve this issue?

Thanks

@armaseg
Copy link
Author

armaseg commented Jul 31, 2015

I found the problem, it looks like node-usb renamed the startStream function [ https://github.com/nonolith/node-usb/commit/ae0e3aad23bb09d5024585d216a24371b311f17b ]
I've been working with your project on Linux/Win and I'd like to submit a pull request. Is it ok for you?

@aminbh111
Copy link

startStream,stopStream and write functions have been changed in node-usb .the project must use an older node-usb version or change function calls to the new once.

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