-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Updates query failed #3
Comments
You might be the first trying the Extension Manager on node 12. If you open a command window and give the command:
Does it then give an error as well? |
npm outdated -g roon-extension-repository --depth=0 npm ERR! Cannot read property 'length' of undefined npm ERR! A complete log of this run can be found in: I think I can switch back to node 11, ( I use homebridge on the same machine with the same node install but it is fine in 12 ) |
This is a bug in npm 6.9.0: There is a fix but it isn't released yet. |
I have it a go 👎 : no joy I think you can see which version I am using in the log below. I will have a go at downgrading to 11, the extensions are not stable under 12. I am finding the manager dies periodically. I believe that one of the issues is when I power off an endpoint (KEF LS50W) the extension manager dies. ( I need to verify this is an issue on 11 before I open an issue for it ) 0 info it worked if it ends with ok |
@nevd if node 11 has npm 6.9.0, you'll still have the same issue. I have it with 10.5.3. edit: I mean, I get the error when |
I did not read your comment until I downgraded to 11 and found I had the same issue. I am not familiar enough with node/npm and homebrew but I think I want both version 10 & 12 installed. I will use 12 for homebridge and I will stick with 10 for roon extensions and see if I can get some stability. This was all to get the alarm working, but then I found some other extensions I really liked. (I am an arcam owner) |
@nevd , have you tried the below mentioned in an earlier post?
See here:
This should force an install of version 6.9.1, where Please bear in mind that I haven't tried it myself, so please check before doing this to ensure it doesn't break anything you need. |
Yep in #3 (comment) I had done it and I bolded the line which showed the version of npm I was using. Since I had gotten back to 11 I decided to try the arcam module again as that never worked for me under 12 and it does not work under 11. I will switch back to 12 or maybe try 10 and see if I can find a sweet spot. |
OK, I was just asking because I see in that log that many lines still read I'm sorry, I'm afraid that I don't have other suggestions to offer. I hope you can solve it so you aren't locked to a specific version of Node. |
Node v12.7.0 has been released. This release includes v6.10.0 of npm, which contains the fix for the bug that is reported in this issue. |
On a new installation of the extension manager I am getting an error of Updates query failed
OS = Apple Mojave
node = homebrew latest
This is the log output
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/Cellar/node/12.1.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'outdated',
1 verbose cli '-g',
1 verbose cli 'roon-extension-repository',
1 verbose cli '--depth=0'
1 verbose cli ]
2 info using npm@6.9.0
3 info using node@v12.1.0
4 verbose npm-session c2f41b328665c20c
5 verbose stack TypeError: Cannot read property 'length' of undefined
5 verbose stack at dotindex (/usr/local/lib/node_modules/npm/node_modules/text-table/index.js:59:32)
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/text-table/index.js:11:21
5 verbose stack at Array.forEach ()
5 verbose stack at forEach (/usr/local/lib/node_modules/npm/node_modules/text-table/index.js:73:31)
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/text-table/index.js:10:9
5 verbose stack at Array.reduce ()
5 verbose stack at reduce (/usr/local/lib/node_modules/npm/node_modules/text-table/index.js:63:30)
5 verbose stack at module.exports (/usr/local/lib/node_modules/npm/node_modules/text-table/index.js:9:20)
5 verbose stack at /usr/local/lib/node_modules/npm/lib/outdated.js:130:16
5 verbose stack at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
5 verbose stack at doIt (/usr/local/lib/node_modules/npm/lib/outdated.js:381:14)
5 verbose stack at shouldUpdate (/usr/local/lib/node_modules/npm/lib/outdated.js:366:12)
5 verbose stack at /usr/local/lib/node_modules/npm/lib/outdated.js:326:23
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
5 verbose stack at Array.forEach ()
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
6 verbose cwd /Users/nev/.RoonExtensions/lib/node_modules/roon-extension-manager
7 verbose Darwin 18.5.0
8 verbose argv "/usr/local/Cellar/node/12.1.0/bin/node" "/usr/local/bin/npm" "outdated" "-g" "roon-extension-repository" "--depth=0"
9 verbose node v12.1.0
10 verbose npm v6.9.0
11 error Cannot read property 'length' of undefined
12 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: