You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error if i execute the find_button script, but if i go into the node_modules folder node_modules/node-dash-button/bin/ and execute the script direct i works.
Any idea?
sudo node script/find_button
/home/pi/dasher/script/find_button:3
sudo node node_modules/node-dash-button/bin/findbutton
^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.runMain (module.js:590:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
The text was updated successfully, but these errors were encountered:
I get an error if i execute the find_button script, but if i go into the node_modules folder
node_modules/node-dash-button/bin/
and execute the script direct i works.Any idea?
sudo node script/find_button
The text was updated successfully, but these errors were encountered: