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
You've made one of the classic blunders: confused Java and Javascript. Despite the similar names, these languages have nothing to do with each other. npm (and nodejs, etc.) are all written to handle Javascript, but this project is written in the completely separate language Java. In order to build and run this project, you will need Java tools, not Javascript tools.
In particular, you need Gradle (a build system -- roughly equivalent to Webpack in the Javascript world), as well as the Java Development Kit (a compiler and runtime -- roughly equivalent to nodejs). Gradle made some changes recently, so you will need version 4 for now (#18 changes this project to work with Gradle 5). This project works with JDK 8 (it might work on later versions, I haven't tested).
Could you give a procedure to have hue2mqtt installed and running on Raspberry pi 3.
I have installed node.js version 8.x.x and when I run the command
sudo npm install -g hue2mqtt
I get and error:
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/util/types'
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-06-07T12_45_04_668Z-debug.log
Your help will be appreciated
Thanks
The text was updated successfully, but these errors were encountered: