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
Hello, Im trying to run a nodejs back end server but keep running into an error. Everytime i try to run my backend.js file as "sudo node backend.js" i get the following error:
TypeError: bindings.setParam is not a function
at Function.init (/home/yg/Desktop/Projects/myLEDVisualizer/node-rpi-ws281x-native/lib/ws281x-native.js:144:12)
at Object. (/home/yg/Desktop/Projects/myLEDVisualizer/backend.js:16:8)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
"
I have looked into the native.js file as well as the binding file it points to and I sede that the setParam function is declared for the variable bindings.
Thanks for the help
The text was updated successfully, but these errors were encountered:
Hello, Im trying to run a nodejs back end server but keep running into an error. Everytime i try to run my backend.js file as "sudo node backend.js" i get the following error:
"
/home/yg/Desktop/Projects/myLEDVisualizer/node-rpi-ws281x-native/lib/ws281x-native.js:144
bindings.setParam(paramCodes.dma, dma);
^
TypeError: bindings.setParam is not a function
at Function.init (/home/yg/Desktop/Projects/myLEDVisualizer/node-rpi-ws281x-native/lib/ws281x-native.js:144:12)
at Object. (/home/yg/Desktop/Projects/myLEDVisualizer/backend.js:16:8)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47
"
I have looked into the native.js file as well as the binding file it points to and I sede that the setParam function is declared for the variable bindings.
Thanks for the help
The text was updated successfully, but these errors were encountered: