# Error: Cannot find module 'i2c-bus'

**URL:** https://discourse.nodered.org/t/error-cannot-find-module-i2c-bus/5259
**Category:** General
**Created:** [28 November 2018 09:29 UTC](https://discourse.nodered.org/t/error-cannot-find-module-i2c-bus/5259 "2018-11-28T09:29:53Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [28 November 2018 10:05 UTC](https://discourse.nodered.org/t/error-cannot-find-module-i2c-bus/5259/6 "2018-11-28T10:05:17Z")

</div>

Please read this post on sharing code on the forum: [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

You can see at the top of the settings file it has `var i2c = require("i2c-bus");` - which is where it is trying to load the `i2c-bus` module. That is _not_ part of the default settings file.

...

I see @ukmoose has also replied - I echo his comments.

---

_[View the full topic](https://discourse.nodered.org/t/error-cannot-find-module-i2c-bus/5259)._
