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
Description
I'm just setting up Hoobs for the first time and I'm getting an error when I try to install the homebridge-nest plugin, please help.
error message from log-
npm
ERR! Unexpected end of JSON input while parsing near '...","semver":"^4.1.0","'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/hoobs/.npm/_logs/2020-04-29T23_35_30_669Z-debug.log
Version
3.1.27 - Fresh install
Did you upgrade
Please let us know if you upgraded from a previous version.
Yes
No
Pervious version
If you upgraded, please let us know your previous version.
Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?
Did you perform an upgrade from HOOBS 2.1.1? Some things are different.
Yes
[X ] No
What device are you using?
Please let us know the device you are running HOOBS on.
HOOBS Box
[X ] HOOBS SD Card
Custom Install
If this is a custom install, what's your operating system?
Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.
List your plugins
certified home bridge-nest plugin - giving errors
harmony and ffmpeg also installed without issue after Nest failed.
Description
I'm just setting up Hoobs for the first time and I'm getting an error when I try to install the homebridge-nest plugin, please help.
error message from log-
npm
ERR! Unexpected end of JSON input while parsing near '...","semver":"^4.1.0","'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/hoobs/.npm/_logs/2020-04-29T23_35_30_669Z-debug.log
Version
3.1.27 - Fresh install
Did you upgrade
Please let us know if you upgraded from a previous version.
Pervious version
If you upgraded, please let us know your previous version.
Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?
Did you perform an upgrade from HOOBS 2.1.1? Some things are different.
What device are you using?
Please let us know the device you are running HOOBS on.
If this is a custom install, what's your operating system?
Please let us know what operating system and version you are using. Ex. Fedora 30 or macOS Catalina.
List your plugins
certified home bridge-nest plugin - giving errors
harmony and ffmpeg also installed without issue after Nest failed.
Post your config
{
"server": {
"port": 8080,
"origin": "*",
"autostart": 0,
"home_setup_id": "X-HM://0023ISYWY0H1L",
"polling_seconds": 5
},
"client": {
"default_route": "status",
"inactive_logoff": 30,
"theme": "hoobs-dark",
"locale": "en",
"temp_units": "fahrenheit",
"country_code": "US",
"postal_code": "94553",
"latitude": "38.002360",
"longitude": "-122.113720"
},
"bridge": {
"name": "HOOBS",
"port": 51826,
"pin": "031-45-154",
"username": "3F:4C:B6:5F:47:2E"
},
"description": "",
"ports": {},
"accessories": [],
"platforms": [
{
"platform": "HarmonyHubWebSocket",
"plugin_map": {
"plugin_name": "homebridge-harmony"
},
"name": "1st Floor",
"hubIP": "192.168.1.17",
"hubName": "1st Floor",
"cleanCache": false,
"publishAllTVAsExternalAccessory": true,
"TVAccessory": true,
"mainActivity": "Watch Apple TV",
"playPauseBehavior": true,
"linkVolumeControlToTV": false,
"publishGeneralMuteSwitch": true,
"publishGeneralVolumeSlider": true,
"otherPlatforms": [
{
"name": "3rd Floor",
"hubIP": "192.168.1.18",
"hubName": "3rd Floor",
"cleanCache": false,
"publishAllTVAsExternalAccessory": true,
"TVAccessory": true,
"mainActivity": "Watch Apple TV",
"playPauseBehavior": true,
"linkVolumeControlToTV": false,
"publishGeneralMuteSwitch": true,
"publishGeneralVolumeSlider": true
}
]
},
{
"platform": "Camera-ffmpeg",
"plugin_map": {
"plugin_name": "homebridge-camera-ffmpeg"
}
}
]
}
Post your log
You can get the log from the intercafe. This is in the Log section.
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--prefer-offline',
1 verbose cli '--no-audit',
1 verbose cli '--unsafe-perm',
1 verbose cli '--progress=true',
1 verbose cli '@hoobs/nest@4.4.0'
1 verbose cli ]
2 info using npm@6.14.4
3 info using node@v12.16.2
4 verbose npm-session 7645e9b7a5c02b41
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/@hoobs%2fnest 38ms (from cache)
8 silly pacote version manifest for @hoobs/nest@4.4.0 fetched in 65ms
9 timing stage:loadCurrentTree Completed in 1035ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 8ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 438ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule @hoobs/nest@4.4.0 checking installable status
17 http fetch GET 200 https://registry.npmjs.org/axios 65ms (from cache)
18 http fetch GET 200 https://registry.npmjs.org/eslint 67ms (from cache)
19 http fetch GET 200 https://registry.npmjs.org/lodash.debounce 72ms (from cachh
e)
20 silly fetchPackageMetaData error for eslint@^5.16.0 Unexpected end of JSON inn
put while parsing near '...","semver":"^4.1.0","'
21 http fetch GET 200 https://registry.npmjs.org/pbf 74ms attempt #2 (from cachee
)
22 http fetch GET 200 https://registry.npmjs.org/promise-prompt 74ms attempt #2
(from cache)
23 http fetch GET 200 https://registry.npmjs.org/protobufjs 74ms attempt #2 (froo
m cache)
24 http fetch GET 200 https://registry.npmjs.org/querystring 82ms (from cache)
25 http fetch GET 200 https://registry.npmjs.org/varint 81ms (from cache)
26 silly pacote range manifest for axios@^0.19.2 fetched in 104ms
27 silly resolveWithNewModule axios@0.19.2 checking installable status
28 silly pacote range manifest for lodash.debounce@^4.0.8 fetched in 98ms
29 silly resolveWithNewModule lodash.debounce@4.0.8 checking installable status
30 silly pacote range manifest for promise-prompt@^1.1.0 fetched in 98ms
31 silly resolveWithNewModule promise-prompt@1.1.1 checking installable status
32 silly pacote range manifest for pbf@^3.2.1 fetched in 103ms
33 silly resolveWithNewModule pbf@3.2.1 checking installable status
34 silly pacote range manifest for protobufjs@^6.8.8 fetched in 102ms
35 silly resolveWithNewModule protobufjs@6.9.0 checking installable status
36 silly pacote range manifest for querystring@^0.2.0 fetched in 102ms
37 silly resolveWithNewModule querystring@0.2.0 checking installable status
38 silly pacote range manifest for varint@^5.0.0 fetched in 103ms
39 silly resolveWithNewModule varint@5.0.0 checking installable status
40 timing stage:rollbackFailedOptional Completed in 1ms
41 timing stage:runTopLevelLifecycles Completed in 1632ms
42 silly saveTree @hoobs/hoobs@3.1.27
42 silly saveTree �
T\�T@�T� @hoobs/nest@4.4.0T42 silly saveTree �
B �T~\�T@�T@ axios@0.19.242 silly saveTree �
TB �T\�T@�T@ ip@1.1.542 silly saveTree �
TB �T\�T@�T@ lodash.debounce@4.0.842 silly saveTree �
TB �T\�T@�T@ pbf@3.2.142 silly saveTree �
TB �T\�T@�T@ promise-prompt@1.1.142 silly saveTree �
TB �T\�T@�T@ protobufjs@6.9.042 silly saveTree �
TB �T\�T@�T@ querystring@0.2.042 silly saveTree �
TB �T\�T@�T@ uuid@3.4.042 silly saveTree �
TB �TT�T@�T@ varint@5.0.042 silly saveTree �
T\�T@�T� homebridge-camera-ffmpeg@0.1.17T42 silly saveTree �
B �T~\�T@�T� debug@2.6.9T42 silly saveTree �
B �TB �TT�T~@�T@ ms@2.0.042 silly saveTree �
TB �T\�T@�T� ffmpeg-for-homebridge@0.0.4T42 silly saveTree �
B �TB �T~\�T@�T@ detect-libc@1.0.342 silly saveTree �
TB �TB �T\�T@�T@ dotenv@8.2.042 silly saveTree �
TB �TB �T\�T@�T@ mkdirp@1.0.442 silly saveTree �
TB �TB �T\�T@�T� simple-get@3.1.0T42 silly saveTree �
B �TB �TB �T~\�T@�T� decompress-response@4.2.1T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ mimic-response@2.1.042 silly saveTree �
TB �TB �TB �T\�T@�T� once@1.4.0T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ wrappy@1.0.242 silly saveTree �
TB �TB �TB �TT�T@�T@ simple-concat@1.0.042 silly saveTree �
TB �TB �TT�T@�T� tar@6.0.2T42 silly saveTree �
B �TB �T~\�T@�T@ chownr@2.0.042 silly saveTree �
TB �TB �T\�T@�T� fs-minipass@2.1.0T42 silly saveTree �
B �TB �TB �TT�T~@�T� minipass@3.1.1T42 silly saveTree �
B �TB �TB �TT�T~@�T@ yallist@4.0.042 silly saveTree �
TB �TB �T\�T@�T@ minipass@3.1.142 silly saveTree �
TB �TB �T\�T@�T@ minizlib@2.1.042 silly saveTree �
TB �TB �TT�T@�T@ yallist@4.0.042 silly saveTree �
TB �TT�T@�T� googleapis@49.0.0T42 silly saveTree �
B �T~\�T@�T� google-auth-library@6.0.0T42 silly saveTree �
B �TB �T~\�T@�T@ arrify@2.0.142 silly saveTree �
TB �TB �T\�T@�T@ base64-js@1.3.142 silly saveTree �
TB �TB �T\�T@�T� ecdsa-sig-formatter@1.0.11T42 silly saveTree �
B �TB �TB �TT�T~@�T@ safe-buffer@5.2.042 silly saveTree �
TB �TB �T\�T@�T@ fast-text-encoding@1.0.242 silly saveTree �
TB �TB �T\�T@�T� gaxios@3.0.3T42 silly saveTree �
B �TB �TB �T~\�T@�T� abort-controller@3.0.0T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ event-target-shim@5..0.1
42 silly saveTree �
TB �TB �TB �T\�T@�T@ extend@3.0.242 silly saveTree �
TB �TB �TB �T\�T@�T� https-proxy-agent@5.0.0T42 silly saveTree �
B �TB �TB �TB �T~\�T@�T� agent-base@6.0.0T42 silly saveTree �
B �TB �TB �TB �TB �TT�T~@�T� debug@4.1.1T42 silly saveTree �
B �TB �TB �TB �TB �TT�T~@�T@ ms@2.1.242 silly saveTree �
TB �TB �TB �TB �TT�T@�T� debug@4.1.1T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ ms@2.1.242 silly saveTree �
TB �TB �TB �T\�T@�T@ is-stream@2.0.042 silly saveTree �
TB �TB �TB �TT�T@�T@ node-fetch@2.6.042 silly saveTree �
TB �TB �T\�T@�T� gcp-metadata@4.0.1T42 silly saveTree �
B �TB �TB �TT�T~@�T� json-bigint@0.3.0T42 silly saveTree �
B �TB �TB �TT�T~@�T@ bignumber.js@7.2.142 silly saveTree �
TB �TB �T\�T@�T� gtoken@5.0.1T42 silly saveTree �
B �TB �TB �T~\�T@�T� google-p12-pem@3.0.1T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ node-forge@0.9.142 silly saveTree �
TB �TB �TB �T\�T@�T� jws@4.0.0T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T� jwa@2.0.0T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ buffer-equal-consttant-time@1.0.1
42 silly saveTree �
TB �TB �TB �TT�T@�T@ mime@2.4.442 silly saveTree �
TB �TB �T\�T@�T@ jws@4.0.042 silly saveTree �
TB �TB �TT�T@�T� lru-cache@5.1.1T42 silly saveTree �
B �TB �TT�T~@�T@ yallist@3.1.142 silly saveTree �
TB �TT�T@�T� googleapis-common@4.1.0T42 silly saveTree �
B �T~\�T@�T@ qs@6.9.342 silly saveTree �
TB �T\�T@�T@ url-template@2.0.842 silly saveTree �
TB �TT�T@�T@ uuid@7.0.342 silly saveTree �
TT�T@�T� homebridge-harmony@1.3.7T~\�42 silly saveTree �
T@�T� harmony-websocket@1.5.1T42 silly saveTree �
B �T~\�T@�T� request-promise@4.2.5T42 silly saveTree �
B �TB �T~\�T@�T@ bluebird@3.7.242 silly saveTree �
TB �TB �T\�T@�T� request-promise-core@1.1.3T42 silly saveTree �
B �TB �TB �TT�T~@�T@ lodash@4.17.1542 silly saveTree �
TB �TB �T\�T@�T@ stealthy-require@1.1.142 silly saveTree �
TB �TB �TT�T@�T� tough-cookie@2.5.0T42 silly saveTree �
B �TB �T~\�T@�T@ psl@1.8.042 silly saveTree �
TB �TB �TT�T@�T@ punycode@2.1.142 silly saveTree �
TB �T\�T@�T� request@2.88.2T42 silly saveTree �
B �TB �T~\�T@�T@ aws-sign2@0.7.042 silly saveTree �
TB �TB �T\�T@�T@ aws4@1.9.142 silly saveTree �
TB �TB �T\�T@�T@ caseless@0.12.042 silly saveTree �
TB �TB �T\�T@�T� combined-stream@1.0.8T42 silly saveTree �
B �TB �TB �TT�T~@�T@ delayed-stream@1.0.042 silly saveTree �
TB �TB �T\�T@�T@ forever-agent@0.6.142 silly saveTree �
TB �TB �T\�T@�T� form-data@2.3.3T42 silly saveTree �
B �TB �TB �T~\�T@�T@ asynckit@0.4.042 silly saveTree �
TB �TB �TB �TT�T@�T� mime-types@2.1.27T42 silly saveTree �
B �TB �TB �TT�T~@�T@ mime-db@1.44.042 silly saveTree �
TB �TB �T\�T@�T� har-validator@5.1.3T42 silly saveTree �
B �TB �TB �T~\�T@�T� ajv@6.12.2T42 silly saveTree �
B �TB �TB �TB �T~\�T@�T@ fast-deep-equal@3.1..1
42 silly saveTree �
TB �TB �TB �TB �T\�T@�T@ fast-json-stable-strringify@2.1.0
42 silly saveTree �
TB �TB �TB �TB �T\�T@�T@ json-schema-traversee@0.4.1
42 silly saveTree �
TB �TB �TB �TB �TT�T@�T@ uri-js@4.2.242 silly saveTree �
TB �TB �TB �TT�T@�T@ har-schema@2.0.042 silly saveTree �
TB �TB �T\�T@�T� http-signature@1.2.0T42 silly saveTree �
B �TB �TB �T~\�T@�T@ assert-plus@1.0.042 silly saveTree �
TB �TB �TB �T\�T@�T� jsprim@1.4.1T42 silly saveTree �
B �TB �TB �TB �T~\�T@�T@ extsprintf@1.3.042 silly saveTree �
TB �TB �TB �TB �T\�T@�T@ json-schema@0.2.342 silly saveTree �
TB �TB �TB �TB �TT�T@�T� verror@1.10.0T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ core-util-is@1.0.242 silly saveTree �
TB �TB �TB �TT�T@�T� sshpk@1.16.1T42 silly saveTree �
B �TB �TB �T~\�T@�T� asn1@0.2.4T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ safer-buffer@2.1.242 silly saveTree �
TB �TB �TB �T\�T@�T� bcrypt-pbkdf@1.0.2T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ tweetnacl@0.14.542 silly saveTree �
TB �TB �TB �T\�T@�T@ dashdash@1.14.142 silly saveTree �
TB �TB �TB �T\�T@�T� ecc-jsbn@0.1.2T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ jsbn@0.1.142 silly saveTree �
TB �TB �TB �T\�T@�T@ getpass@0.1.742 silly saveTree �
TB �TB �TB �T\�T@�T@ jsbn@0.1.142 silly saveTree �
TB �TB �TB �T\�T@�T@ safer-buffer@2.1.242 silly saveTree �
TB �TB �TB �TT�T@�T@ tweetnacl@0.14.542 silly saveTree �
TB �TB �T\�T@�T@ is-typedarray@1.0.042 silly saveTree �
TB �TB �T\�T@�T@ isstream@0.1.242 silly saveTree �
TB �TB �T\�T@�T@ json-stringify-safe@5.0.142 silly saveTree �
TB �TB �T\�T@�T@ mime-types@2.1.2742 silly saveTree �
TB �TB �T\�T@�T@ oauth-sign@0.9.042 silly saveTree �
TB �TB �T\�T@�T@ performance-now@2.1.042 silly saveTree �
TB �TB �T\�T@�T@ qs@6.5.242 silly saveTree �
TB �T\�T@�T� websocket-as-promised@1.0.1T42 silly saveTree �
B �TB �T~\�T@�T@ chnl@1.1.142 silly saveTree �
TB �TB �T\�T@�T@ promise-controller@1.0.042 silly saveTree �
TB �TB �TT�T@�T� promise.prototype.finally@3.1.2T42 silly saveTree �
B �TB �T~\�T@�T� define-properties@1.1.3T42 silly saveTree �
B �TB �TB �TT�T~@�T@ object-keys@1.1.142 silly saveTree �
TB �TB �T\�T@�T� es-abstract@1.17.5T42 silly saveTree �
B �TB �TB �T~\�T@�T� es-to-primitive@1.2.1T42 silly saveTree �
B �TB �TB �TB �T~\�T@�T@ is-callable@1.1.542 silly saveTree �
TB �TB �TB �TB �T\�T@�T@ is-date-object@1.00.2
42 silly saveTree �
TB �TB �TB �TB �TT�T@�T� is-symbol@1.0.3T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ has-symbols@1.0..1
42 silly saveTree �
TB �TB �TB �T\�T@�T@ function-bind@1.1.142 silly saveTree �
TB �TB �TB �T\�T@�T@ has-symbols@1.0.142 silly saveTree �
TB �TB �TB �T\�T@�T@ has@1.0.342 silly saveTree �
TB �TB �TB �T\�T@�T@ is-callable@1.1.542 silly saveTree �
TB �TB �TB �T\�T@�T@ is-regex@1.0.542 silly saveTree �
TB �TB �TB �T\�T@�T@ object-inspect@1.7.042 silly saveTree �
TB �TB �TB �T\�T@�T@ object.assign@4.1.042 silly saveTree �
TB �TB �TB �T\�T@�T� string.prototype.trimlefttT@2.1.2
42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ string.prototype.ttrimstart@1.0.1
42 silly saveTree �
TB �TB �TB �TT�T@�T� string.prototype.trimrighhTt@2.1.2
42 silly saveTree �
B �TB �TB �TT�T~@�T@ string.prototype.trimeend@1.0.1
42 silly saveTree �
TB �TB �TT�T@�T@ function-bind@1.1.142 silly saveTree �
TB �TT�T@�T� websocket@1.0.31T42 silly saveTree �
B �T~\�T@�T� es5-ext@0.10.53T42 silly saveTree �
B �TB �T~\�T@�T� es6-iterator@2.0.3T42 silly saveTree �
B �TB �TB �T~\�T@�T� d@1.0.1T42 silly saveTree �
B �TB �TB �TB �TT�T~@�T@ type@1.2.042 silly saveTree �
TB �TB �TB �TT�T@�T� es6-symbol@3.1.3T42 silly saveTree �
B �TB �TB �TT�T~@�T� ext@1.4.0T42 silly saveTree �
B �TB �TB �TT�T~@�T@ type@2.0.042 silly saveTree �
TB �TB �T\�T@�T@ es6-symbol@3.1.342 silly saveTree �
TB �TB �TT�T@�T@ next-tick@1.0.042 silly saveTree �
TB �T\�T@�T@ nan@2.14.142 silly saveTree �
TB �T\�T@�T@ typedarray-to-buffer@3.1.542 silly saveTree �
TB �TT�T@�T@ yaeti@0.0.642 silly saveTree �
TT�T@�T@ harmonyhubjs-discover@1.1.143 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '..
..","semver":"^4.1.0","'
43 verbose stack at JSON.parse ()
43 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules//
json-parse-better-errors/index.js:7:17)
43 verbose stack at /usr/local/lib/node_modules/npm/node_modules/node-fetch--
npm/src/body.js:96:50
43 verbose stack at processTicksAndRejections (internal/process/task_queues..
js:97:5)
44 verbose cwd /home/hoobs/.hoobs
45 verbose Linux 4.19.97-v7l+
46 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--prefer-oo
ffline" "--no-audit" "--unsafe-perm" "--progress=true" "@hoobs/nest@4.4.0"
47 verbose node v12.16.2
48 verbose npm v6.14.4
49 error Unexpected end of JSON input while parsing near '...","semver":"^4.1.0""
,"'
50 verbose exit [ 1, true ]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: