skylarstein / bme280-sensor

A Node.js I2C module for the Bosch BME280 Humidity, Barometric Pressure, and Temperature Sensor
MIT License
36 stars 22 forks source link

stopped working because of outdated version dependency of i2c-bus #8

Closed nrbrt closed 4 years ago

nrbrt commented 4 years ago

The install of this module fails with modern versions of Node.js, because of a dependency on an outdated version of i2c-bus. It can be solved easily by editing the package.json file and changing "i2c-bus": "^1.2.0" into "i2c-bus": "^5.1.0" I hope this will get fixed.

ludiazv commented 4 years ago

This affect also to the node-red node based on this node. @skylarstein do you accept a PR for this version bump?

Thanks,

skylarstein commented 4 years ago

This affect also to the node-red node based on this node. @skylarstein do you accept a PR for this version bump?

Thanks,

Yes I would, thank you. I'll also try to test today.

nrbrt commented 4 years ago

Since I have seen no activity, I have done the version bump and created a PR.

skylarstein commented 4 years ago

Resolved by https://github.com/skylarstein/bme280-sensor/pull/9 thanks to @nrbrt. Released as v0.1.7

nrbrt commented 4 years ago

You forgot to update npm