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

error #17

Closed
cbrandlehner opened this issue Mar 21, 2016 · 2 comments
Closed

error #17

cbrandlehner opened this issue Mar 21, 2016 · 2 comments

Comments

@cbrandlehner
Copy link

I get this error:

syno fs getFileStationInfo --pretty
/usr/lib/node_modules/syno/dist/syno.js:78
                        code = body.error ? body.error.code : body.data[0].error;
                                                                       ^

TypeError: Cannot read property '0' of undefined
    at Request._callback (/usr/lib/node_modules/syno/dist/syno.js:78:72)
    at Request.self.callback (/usr/lib/node_modules/syno/node_modules/request/request.js:199:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/usr/lib/node_modules/syno/node_modules/request/request.js:1036:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/syno/node_modules/request/request.js:963:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)

The password is correct with above message. I tested by trying with a wrong password and got:
syno fs getFileStationInfo --pretty [ERROR] : Error: Permission denied

I am running DSM 6.0-7307 / this is the current release candidate of DSM 6.0.

@kwent
Copy link
Owner

kwent commented Jun 5, 2016

@cbrandlehner I just released a new 2.0.0 version which support 5.x and 6.x version ! Give it a shot ! That should fix your issue.

@kwent
Copy link
Owner

kwent commented Jun 9, 2016

syno fs getInfo --pretty should work.

@kwent kwent closed this as completed Jun 9, 2016
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