I have installed Pidora(Fedora 18 Remix optimized for RaspBerryPi) and I am trying to install the Adafruit's WebIDE!
I followed the instructions described here http://learn.adafruit.com/webide/installation
and it seems that everything were installed successfully...
but when I run the command
Code: Select all
nodejs server.js
Code: Select all
module.js:349
Module._extensions[extension](this, filename);
^
Error: Module version mismatch. Expected 12, got 1.
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at Object.<anonymous> (/opt/Adafruit-WebIDE/node_modules/tty.js/node_modules/pty.js/lib/pty.js:9:11)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
as the Pidora doesn't provide the node via Yum, I download it and I compiled it.
So this error, is an error of the server.js file or the server.js is made for another nodejs version??
Thanks in advance!