Installing sense-hat palette fails on Windows 10

Installing this palette failed on Windows-10 but worked perfectly on Raspbian-Buster on Raspberry Pi 3b

any idea what may the problem be?

A Node-RED node to interact with a Raspberry Pi Sense HAT

18 Apr 03:41:35 - [info] Starting flows
18 Apr 03:41:35 - [info] Started flows
18 Apr 03:45:44 - [info] Installing module: node-red-node-pi-sense-hat, version: 0.0.18
18 Apr 03:45:49 - [warn] Installation of module node-red-node-pi-sense-hat failed:
18 Apr 03:45:49 - [warn] ------------------------------------------
18 Apr 03:45:49 - [warn] 'scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! errno 1
npm ERR! node-red-node-pi-sense-hat@0.0.18 postinstall: scripts/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-red-node-pi-sense-hat@0.0.18 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mohsi\AppData\Roaming\npm-cache_logs\2020-04-18T07_45_49_425Z-debug.log

18 Apr 03:45:49 - [warn] ------------------------------------------

Since node-red-node-pi-sense-hat works on a Pi, you might want to try using node-red-node-pi-sense-hat-simulator instead

1 Like

@zenofmud thanks....that surely makes "sense".
"-1" one for me for not thinking through this. :blush:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.