node-raumserver icon indicating copy to clipboard operation
node-raumserver copied to clipboard

installation with npm fails as package.json is missing

Open ralf31337 opened this issue 5 years ago • 1 comments

Hi,

I started installing under ubuntu: :~/raumserver$ npm install node-raumserver npm WARN saveError ENOENT: no such file or directory, open '/home/ralf/raumserver/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/ralf/raumserver/package.json' npm WARN raumserver No description npm WARN raumserver No repository field. npm WARN raumserver No README data npm WARN raumserver No license field.

  • [email protected] added 119 packages from 147 contributors and audited 163 packages in 5.153s

13 packages are looking for funding run npm fund for details

found 0 vulnerabilities

:~/raumserver$ npm -version 6.13.7 :~/raumserver$ node -v v13.8.0

I had previously npm 5.x, I tried with nodejs 10.x, 8.x ... I tried building the docker image with updated 0.1.9 version (fails with errors see below).

Docker run errors: erbose: [DeviceManager] Found Host-Service on: 192.168.178.78 via BONJOUR verbose: [DeviceManager] Getting device list from http://192.168.178.78 with updateId: info: [Raumkernel] Found raumfeld host on: 192.168.178.78 verbose: [ZoneManager] Getting zone configuration information from http://192.168.178.78 with updateId: error: [DeviceManager] Error retrieving the device list from 192.168.178.78:Error: connect EHOSTUNREACH 192.168.178.78:47365 error: [ZoneManager] Error retrieving the zone configuration from 192.168.178.78: Error: connect EHOSTUNREACH 192.168.178.78:47365 error: [DeviceManager] Connection with the host '192.168.178.78' failed! (PING): Error: connect EHOSTUNREACH 192.168.178.78:47365

Thanks, Ralf

ralf31337 avatar Feb 08 '20 22:02 ralf31337

Are you sure the install was not done? why id did install 119 packages? The node-raumserver was installed as module.

so cd int the directory and start it

npm install node-raumserver
cd node_modules/node-raumserver
npm start

ChriD avatar Feb 09 '20 13:02 ChriD