Skip to content

Commit

Permalink
Merge pull request #143 from octopicorn/patch-1
Browse files Browse the repository at this point in the history
note about serialport node error
  • Loading branch information
AJ Keller authored Mar 24, 2017
2 parents b656945 + 5013112 commit a552248
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ Python researcher or developer? Check out how easy it is to [get access to the e
```
npm install openbci
```
#### serialport dependency
If you encounter this error when trying to run:
```
Error: The module '/path/to/your/project/node_modules/serialport/build/Release/serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
```
...the issue can be resolved by running:
```
npm rebuild --build-from-source
```
### <a name="tldr"></a> TL;DR:
Get connected and [start streaming right now with the example code](examples/getStreaming/getStreaming.js).

Expand Down

0 comments on commit a552248

Please sign in to comment.