jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.83k stars 462 forks source link

npm fund: some packages are looking for funding in Debian/RasPiOS 11 (Bullseye) #814

Closed micheld93 closed 2 years ago

micheld93 commented 2 years ago

Hi, when installing the api on a fresh Homebridge image one get a lot of error messages. In the end (after npm audit fix) it comes to this funding problem:

sonos-http-api@1.6.9 ├─┬ https://opencollective.com/eslint │ │ └── eslint@8.2.0 │ ├── https://github.com/sponsors/epoberezkin │ │ └── ajv@6.12.6 │ ├─┬ https://github.com/chalk/chalk?sponsor=1 │ │ │ └── chalk@4.1.2 │ │ └── https://github.com/chalk/ansi-styles?sponsor=1 │ │ └── ansi-styles@4.3.0 │ ├── https://github.com/sponsors/sindresorhus │ │ └── escape-string-regexp@4.0.0, globals@13.12.0, type-fest@0.20.2, import-fresh@3.3.0, strip-json-comments@3.1.1 │ ├── https://github.com/sponsors/mysticatea │ │ └── eslint-utils@3.0.0, regexpp@3.2.0 │ └── https://github.com/sponsors/isaacs │ └── rimraf@3.0.2, glob@7.2.0 └── https://github.com/sponsors/ljharb └── object.assign@4.1.2, call-bind@1.0.2, get-intrinsic@1.1.1, has-symbols@1.0.2, es-abstract@1.19.1, es-to-primitive@1.2.1, is-date-object@1.0.5, has-tostringtag@1.0.0, is-symbol@1.0.4, get-symbol-description@1.0.0, is-callable@1.2.4, is-negative-zero@2.0.1, is-regex@1.1.4, is-shared-array-buffer@1.0.1, is-string@1.0.7, is-weakref@1.0.1, object-inspect@1.11.0, string.prototype.trimend@1.0.4, string.prototype.trimstart@1.0.4, unbox-primitive@1.0.1, has-bigints@1.0.1, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.6, side-channel@1.0.4, array-includes@3.1.4, array.prototype.flat@1.2.5, is-core-module@2.8.0, object.values@1.1.5, resolve@1.20.0

The api is not working. Is it only me or are others in the same situation? Is there a fast fix available or do I need to do a google search for each entry?

Wishes

jishi commented 2 years ago

I don't see any actual error in that output. What is the error when trying to start it?

On Sat, 13 Nov 2021, 18:14 micheld93, @.***> wrote:

Hi, when installing the api on a fresh Homebridge image one get a lot of error messages. In the end (after npm audit fix) it comes to this funding problem:

@. ├─┬ https://opencollective.com/eslint │ │ └── @. │ ├── https://github.com/sponsors/epoberezkin │ │ └── @. │ ├─┬ https://github.com/chalk/chalk?sponsor=1 │ │ │ └── @. │ │ └── https://github.com/chalk/ansi-styles?sponsor=1 │ │ └── @. │ ├── https://github.com/sponsors/sindresorhus │ │ └── @., @., @., @., @. │ ├── https://github.com/sponsors/mysticatea │ │ └── @., @. │ └── https://github.com/sponsors/isaacs │ └── @., @. └── https://github.com/sponsors/ljharb └── @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @., @.***

The api is not working. Is it only me or are others in the same situation? Is there a fast fix available or do I need to do a google search for each entry?

Wishes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jishi/node-sonos-http-api/issues/814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYE2I6X2HGMPLNL3ODLUOLUL2MI3ANCNFSM5H62W33A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

micheld93 commented 2 years ago

npm ERR! code EJSONPARSE npm ERR! path /home/pi/package.json npm ERR! JSON.parse Unexpected end of JSON input while parsing empty string npm ERR! JSON.parse Failed to parse JSON data. npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.

This file is empty and was automatically created. With buster it was "Install and use it" :-)

jishi commented 2 years ago

Sounds like you are calling npm install from the wrong directory.

On Sat, 13 Nov 2021, 18:21 micheld93, @.***> wrote:

npm ERR! code EJSONPARSE npm ERR! path /home/pi/package.json npm ERR! JSON.parse Unexpected end of JSON input while parsing empty string npm ERR! JSON.parse Failed to parse JSON data. npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.

This file is empty and was automatically created.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jishi/node-sonos-http-api/issues/814#issuecomment-968103558, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYE2IZUXAFHOKTR26HL7XDUL2NCLANCNFSM5H62W33A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

micheld93 commented 2 years ago

Yes, that's right. A small typo. Thanks.