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
Whenever i try to execute it(sudo grunt start), it complains about not finding uinput. I installed uninput manually(npm i uinput) but it still doesnt work.
logs:
` Running "clean:dist" (clean) task
1 path cleaned.
Running "copy:public" (copy) task
Created 1 directory, copied 3 files
Running "copy:client" (copy) task
Created 3 directories, copied 10 files
Error: Cannot find module 'uinput'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/pi/mobile-gamepad/server/src/gamepad.js:2:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Stopping Express server
Running "watch" task
Waiting... `
The text was updated successfully, but these errors were encountered:
In the mobile-gamepad directory, do npm install uinput
If it worked, congrats.
If not, do ls node_modules | grep uinput
if you find a directory named "uinput2", do mv node_modules/uinput2 node_modules/uinput
then try again...
Whenever i try to execute it(sudo grunt start), it complains about not finding uinput. I installed uninput manually(npm i uinput) but it still doesnt work.
logs:
` Running "clean:dist" (clean) task
Running "copy:public" (copy) task
Created 1 directory, copied 3 files
Running "copy:client" (copy) task
Created 3 directories, copied 10 files
Running "express:dev" (express) task
Starting background Express server
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'uinput'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/pi/mobile-gamepad/server/src/gamepad.js:2:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Stopping Express server
Running "watch" task
Waiting... `
The text was updated successfully, but these errors were encountered: