Open shigosen opened 7 years ago
Does anyone help me?
Set your NODE_PATH
variable to the location where you installed MRAA before running Node.js.
For example: export NODE_PATH=/usr/lib/node_modules
.
Thanks.
I forgot where Mraa is saved.Could you tell me how do I search the directory or the file is saved Mraa.
You can use
find / -name "mraa\.node" 2>/dev/null
This will also filter permission denied error messages.
Thank you.
I used command line mentioned above ,but Tera term didn't show any characters.
Tera term didn't show any characters but root@username.
I don't know what variables should set to the location I installed Mraa.And I couldn't understand command line mentioned above. I assume export NODE_PATH=/user/lib/node_modules
means set NODE_PATH variable to /user/lib/node_modules directory.
Yes, when you set that environment variable, Node.js will use it to search for additional modules at that location. The find
command mentioned above should give an output similar to this, on an Intel Edison with the latest image:
root@pedison:~# find / -name "mraa\.node" 2>/dev/null
/usr/lib/node_modules/mraa/mraa.node
Thanks.I'll try again.
Recently I installed mraa library in Edison kit for arduino.Then I try to identify version of this. But mraa doesn't work properly.Following is output.