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

compile error #3

Open
kaspesla opened this issue Nov 2, 2022 · 1 comment
Open

compile error #3

kaspesla opened this issue Nov 2, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kaspesla
Copy link

kaspesla commented Nov 2, 2022

Something not quite right here. I had to comment out some of this to get it to go.

(base) ken@lll spot-sdk-js % node examples/hello_spot/hello_spot.js --username spot --password my password -v 192.168.80.3
/Users/ken/Sandbox/spot-sdk-js/bosdyn-client/power.js:208
  [power_pb.FanPowerCommandResponse.Status.STATUS_OK]: [null, null],
                                    ^

TypeError: Cannot read properties of undefined (reading 'Status')
    at Object.<anonymous> (/Users/ken/Sandbox/spot-sdk-js/bosdyn-client/power.js:208:37)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/ken/Sandbox/spot-sdk-js/bosdyn-client/command_line.js:42:5)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
(base) ken@lll spot-sdk-js % node examples/hello_spot/hello_spot.js --username spot --password spotspotspot -v 192.168.80.3
/Users/ken/Sandbox/spot-sdk-js/bosdyn-client/power.js:208
  [power_pb.FanPowerCommandResponse.Status.STATUS_OK]: [null, null],
                                    ^
@TheoPierne
Copy link
Owner

I commited a new version of proto files, which includes the status for FanPowerCommandResponse

This issue should be resolved !

@TheoPierne TheoPierne added the bug Something isn't working label Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants