cannot find module bindings warning.

372 views
Skip to first unread message

karthhic Mukil

unread,
Jul 4, 2016, 5:22:50 AM7/4/16
to Node-RED
Dear all,



I am now facing this issue.

4 Jul 12:08:02 - [info] Node-RED version: v0.14.3
4 Jul 12:08:02 - [info] Node.js  version: v6.2.1
4 Jul 12:08:02 - [info] Windows_NT 6.1.7601 x64 LE
4 Jul 12:08:02 - [info] Loading palette nodes
4 Jul 12:08:08 - [warn] ------------------------------------------------------
4 Jul 12:08:08 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
4 Jul 12:08:08 - [warn] [tail] Not currently supported on Windows.
4 Jul 12:08:08 - [warn] [arduino] Error: Cannot find module 'bindings'
4 Jul 12:08:08 - [warn] [serialport] Error: Cannot find module 'bindings'
4 Jul 12:08:08 - [warn] ------------------------------------------------------
4 Jul 12:08:08 - [info] Settings file  : C:\Users\user\AppData\Roaming\npm\node_modules\node-red\settings.js
4 Jul 12:08:08 - [info] User directory : \Users\user\.node-red
4 Jul 12:08:08 - [info] Flows file     : \Users\user\.node-red\flows_mypc.json
4 Jul 12:08:08 - [info] Creating new flow file
4 Jul 12:08:08 - [info] Starting flows
4 Jul 12:08:08 - [info] Started flows
4 Jul 12:08:08 - [info] Server now running at http://127.0.0.1:1880/
4 Jul 12:08:19 - [info] Stopping flows

Why i am getting the  warning as Cannot find module 'bindings' ? how to solve it?

Thank you,

Best Regards,
Karthhic

Dave C-J

unread,
Jul 4, 2016, 5:32:18 AM7/4/16
to node...@googlegroups.com
you are using node v6 .
We don't support that fully yet.
If you like you can try to replace the default serialport node with node-red-node-serialport@3.x
You will probably need to do an npm clear and npm rebuild in the node_modules directory
If you do this you need to remove the existing serialport node .

karthhic Mukil

unread,
Jul 4, 2016, 9:14:18 AM7/4/16
to Node-RED
Dear Dave,

Thank you,

I uninstalled the modules, NPM, nodejs node red and reinstalled again everything, now its working, but when accessing the serial it is showing as permission denied.

BR
K
Reply all
Reply to author
Forward
0 new messages