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

Chapter7-implementation/part1-2-direct-gateway ... TypeError: Object.observe is not a function #15

Open
elyock opened this issue Oct 28, 2016 · 2 comments

Comments

@elyock
Copy link

elyock commented Oct 28, 2016

Any chance of someone applying a fix for this, now that the official node LTS version is 6.9.1?

kevin

pi@raspberrypi:~/wot-book/chapter7-implementation/part1-2-direct-gateway$ node wot-server.js
Simulated Passive Infrared sensor started!
/home/pi/wot-book/chapter7-implementation/part1-2-direct-gateway/plugins/internal/ledsPlugin.js:29
Object.observe(what, function (changes) {
^

TypeError: Object.observe is not a function
at observe (/home/pi/wot-book/chapter7-implementation/part1-2-direct-gateway/plugins/internal/ledsPlugin.js:29:10)

@elyock elyock closed this as completed Nov 2, 2016
@domguinard domguinard reopened this Nov 19, 2016
@domguinard
Copy link
Member

Hi, thanks a lot for your bug submission. I'm reopening because as you said: 6 is now the new LTS and it does not support observe(). We are looking into fixing that now.

@domguinard
Copy link
Member

Note that we'll be fixing that in webofthings.js so you can follow the progress here: webofthings/webofthings.js#3

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

No branches or pull requests

2 participants