Created
August 27, 2020 18:51
-
-
Save zeke/8ca8a803c33e0dfccfe12b20b30b5180 to your computer and use it in GitHub Desktop.
unable to "npm install recent-github-activity" with npm 7 beta
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npx recent-github-activity | |
Need to install the following packages: | |
recent-github-activity | |
Ok to proceed? (y) y | |
npm ERR! code ERESOLVE | |
npm ERR! unable to resolve dependency tree | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/z/.npm/_logs/2020-08-27T18_45_54_358Z-debug.log | |
$ npm i -g recent-github-activity | |
npm ERR! code ERESOLVE | |
npm ERR! unable to resolve dependency tree | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/z/.npm/_logs/2020-08-27T18_46_26_383Z-debug.log | |
$ mkdir my-project && cd my-project | |
$ echo "{}" > package.json | |
$ npm i recent-github-activity | |
npm ERR! code ERESOLVE | |
npm ERR! unable to resolve dependency tree | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/z/.npm/_logs/2020-08-27T18_47_16_246Z-debug.log | |
~/Desktop/my-project | |
$ cat /Users/z/.npm/_logs/2020-08-27T18_47_16_246Z-debug.log | |
0 verbose cli [ | |
0 verbose cli '/Users/z/.nodenv/versions/12.8.0/bin/node', | |
0 verbose cli '/Users/z/.nodenv/versions/12.8.0/bin/npm', | |
0 verbose cli 'i', | |
0 verbose cli 'recent-github-activity' | |
0 verbose cli ] | |
1 info using [email protected] | |
2 info using [email protected] | |
3 timing config:load:defaults Completed in 1ms | |
4 timing config:load:file:/Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/npmrc Completed in 0ms | |
5 timing config:load:builtin Completed in 0ms | |
6 timing config:load:cli Completed in 1ms | |
7 timing config:load:env Completed in 0ms | |
8 timing config:load:file:/Users/z/Desktop/my-project/.npmrc Completed in 0ms | |
9 timing config:load:project Completed in 1ms | |
10 timing config:load:file:/Users/z/.npmrc Completed in 0ms | |
11 timing config:load:user Completed in 0ms | |
12 timing config:load:file:/Users/z/.nodenv/versions/12.8.0/etc/npmrc Completed in 0ms | |
13 timing config:load:global Completed in 1ms | |
14 timing config:load:cafile Completed in 0ms | |
15 timing config:load:validate Completed in 0ms | |
16 timing config:load:setEnvs Completed in 0ms | |
17 timing config:load Completed in 4ms | |
18 verbose npm-session 345c840095bc3f53 | |
19 timing npm:load Completed in 10ms | |
20 timing arborist:ctor Completed in 1ms | |
21 timing arborist:ctor Completed in 1ms | |
22 timing idealTree:init Completed in 8ms | |
23 timing idealTree:userRequests Completed in 1ms | |
24 silly idealTree buildDeps | |
25 http fetch GET 200 https://registry.npmjs.org/recent-github-activity 12ms (from cache) | |
26 silly placeDep recent-github-activity@* Symbol(OK) for: undefined | |
27 http fetch GET 200 https://registry.npmjs.org/@github-docs%2frender-content 41ms (from cache) | |
28 http fetch GET 200 https://registry.npmjs.org/ghauth 42ms (from cache) | |
29 http fetch GET 200 https://registry.npmjs.org/liquid 44ms (from cache) | |
30 http fetch GET 304 https://registry.npmjs.org/time-ago 113ms (from cache) | |
31 http fetch GET 304 https://registry.npmjs.org/lodash 113ms (from cache) | |
32 http fetch GET 304 https://registry.npmjs.org/@octokit%2frest 146ms (from cache) | |
33 timing idealTree:#root Completed in 176ms | |
34 silly placeDep node_modules/recent-github-activity @github-docs/render-content@^1.0.1 Symbol(OK) for: [email protected] | |
35 silly placeDep @github-docs/render-content@^1.0.1 Symbol(OK) for: [email protected] | |
36 silly placeDep node_modules/recent-github-activity @octokit/rest@^17.0.1 Symbol(OK) for: [email protected] | |
37 silly placeDep @octokit/rest@^17.0.1 Symbol(OK) for: [email protected] | |
38 silly placeDep node_modules/recent-github-activity ghauth@^4.0.0 Symbol(OK) for: [email protected] | |
39 silly placeDep ghauth@^4.0.0 Symbol(OK) for: [email protected] | |
40 silly placeDep node_modules/recent-github-activity liquid@^4.0.0 Symbol(OK) for: [email protected] | |
41 silly placeDep liquid@^4.0.0 Symbol(OK) for: [email protected] | |
42 silly placeDep node_modules/recent-github-activity lodash@^4.17.15 Symbol(OK) for: [email protected] | |
43 silly placeDep lodash@^4.17.15 Symbol(OK) for: [email protected] | |
44 silly placeDep node_modules/recent-github-activity time-ago@^0.2.1 Symbol(OK) for: [email protected] | |
45 silly placeDep time-ago@^0.2.1 Symbol(OK) for: [email protected] | |
46 http fetch GET 200 https://registry.npmjs.org/hubdown 41ms (from cache) | |
47 http fetch GET 200 https://registry.npmjs.org/strip-html-comments 42ms (from cache) | |
48 http fetch GET 200 https://registry.npmjs.org/application-config 40ms (from cache) | |
49 http fetch GET 304 https://registry.npmjs.org/html-entities 46ms (from cache) | |
50 http fetch GET 304 https://registry.npmjs.org/semver 63ms (from cache) | |
51 http fetch GET 304 https://registry.npmjs.org/read 72ms (from cache) | |
52 http fetch GET 304 https://registry.npmjs.org/cheerio 89ms (from cache) | |
53 http fetch GET 304 https://registry.npmjs.org/strftime 87ms (from cache) | |
54 http fetch GET 304 https://registry.npmjs.org/@primer%2focticons 98ms (from cache) | |
55 http fetch GET 304 https://registry.npmjs.org/bl 104ms (from cache) | |
56 http fetch GET 304 https://registry.npmjs.org/@octokit%2fplugin-paginate-rest 107ms (from cache) | |
57 http fetch GET 304 https://registry.npmjs.org/@octokit%2fplugin-rest-endpoint-methods 112ms (from cache) | |
58 http fetch GET 304 https://registry.npmjs.org/@octokit%2fplugin-request-log 114ms (from cache) | |
59 http fetch GET 304 https://registry.npmjs.org/hyperquest 118ms (from cache) | |
60 http fetch GET 304 https://registry.npmjs.org/@octokit%2fcore 164ms (from cache) | |
61 timing idealTree:node_modules/recent-github-activity Completed in 174ms | |
62 silly placeDep node_modules/@github-docs/render-content @primer/octicons@^9.1.1 Symbol(OK) for: @github-docs/[email protected] | |
63 silly placeDep @primer/octicons@^9.1.1 Symbol(OK) for: @github-docs/[email protected] | |
64 silly placeDep node_modules/@github-docs/render-content cheerio@^1.0.0-rc.3 Symbol(OK) for: @github-docs/[email protected] | |
65 silly placeDep cheerio@^1.0.0-rc.3 Symbol(OK) for: @github-docs/[email protected] | |
66 silly placeDep node_modules/@github-docs/render-content html-entities@^1.2.1 Symbol(OK) for: @github-docs/[email protected] | |
67 silly placeDep html-entities@^1.2.1 Symbol(OK) for: @github-docs/[email protected] | |
68 silly placeDep node_modules/@github-docs/render-content hubdown@^2.1.0 Symbol(OK) for: @github-docs/[email protected] | |
69 silly placeDep hubdown@^2.1.0 Symbol(OK) for: @github-docs/[email protected] | |
70 silly placeDep node_modules/@github-docs/render-content semver@^5.7.1 Symbol(OK) for: @github-docs/[email protected] | |
71 silly placeDep semver@^5.7.1 Symbol(OK) for: @github-docs/[email protected] | |
72 silly placeDep node_modules/@github-docs/render-content strip-html-comments@^1.0.0 Symbol(OK) for: @github-docs/[email protected] | |
73 silly placeDep strip-html-comments@^1.0.0 Symbol(OK) for: @github-docs/[email protected] | |
74 http fetch GET 200 https://registry.npmjs.org/highlightjs-graphql 41ms (from cache) | |
75 http fetch GET 200 https://registry.npmjs.org/rehype-slug 41ms (from cache) | |
76 http fetch GET 200 https://registry.npmjs.org/remark-gemoji-to-emoji 41ms (from cache) | |
77 http fetch GET 304 https://registry.npmjs.org/htmlparser2 69ms (from cache) | |
78 http fetch GET 304 https://registry.npmjs.org/css-select 72ms (from cache) | |
79 http fetch GET 304 https://registry.npmjs.org/entities 73ms (from cache) | |
80 http fetch GET 304 https://registry.npmjs.org/hasha 83ms (from cache) | |
81 http fetch GET 304 https://registry.npmjs.org/parse5 85ms (from cache) | |
82 http fetch GET 304 https://registry.npmjs.org/object-assign 88ms (from cache) | |
83 http fetch GET 304 https://registry.npmjs.org/json-stable-stringify 87ms (from cache) | |
84 http fetch GET 304 https://registry.npmjs.org/gray-matter 91ms (from cache) | |
85 http fetch GET 304 https://registry.npmjs.org/rehype-raw 94ms (from cache) | |
86 http fetch GET 304 https://registry.npmjs.org/rehype-autolink-headings 97ms (from cache) | |
87 http fetch GET 304 https://registry.npmjs.org/remark-parse 98ms (from cache) | |
88 http fetch GET 304 https://registry.npmjs.org/rehype-highlight 100ms (from cache) | |
89 http fetch GET 304 https://registry.npmjs.org/unified 99ms (from cache) | |
90 http fetch GET 304 https://registry.npmjs.org/dom-serializer 105ms (from cache) | |
91 http fetch GET 304 https://registry.npmjs.org/remark-rehype 102ms (from cache) | |
92 http fetch GET 304 https://registry.npmjs.org/rehype-stringify 104ms (from cache) | |
93 timing idealTree:node_modules/@github-docs/render-content Completed in 112ms | |
94 silly placeDep node_modules/@octokit/rest @octokit/core@^2.4.3 Symbol(OK) for: @octokit/[email protected] | |
95 silly placeDep @octokit/core@^2.4.3 Symbol(OK) for: @octokit/[email protected] | |
96 silly placeDep node_modules/@octokit/rest @octokit/plugin-paginate-rest@^2.2.0 Symbol(OK) for: @octokit/[email protected] | |
97 silly placeDep @octokit/plugin-paginate-rest@^2.2.0 Symbol(OK) for: @octokit/[email protected] | |
98 silly placeDep @octokit/core@>=3 Symbol(KEEP) for: @octokit/[email protected] | |
99 silly placeDep node_modules/@octokit/rest @octokit/plugin-request-log@^1.0.0 Symbol(OK) for: @octokit/[email protected] | |
100 silly placeDep @octokit/plugin-request-log@^1.0.0 Symbol(OK) for: @octokit/[email protected] | |
101 silly placeDep node_modules/@octokit/rest @octokit/[email protected] Symbol(OK) for: @octokit/[email protected] | |
102 silly placeDep @octokit/[email protected] Symbol(OK) for: @octokit/[email protected] | |
103 http fetch GET 304 https://registry.npmjs.org/deprecation 45ms (from cache) | |
104 http fetch GET 304 https://registry.npmjs.org/before-after-hook 46ms (from cache) | |
105 http fetch GET 304 https://registry.npmjs.org/@octokit%2fauth-token 75ms (from cache) | |
106 http fetch GET 304 https://registry.npmjs.org/@octokit%2ftypes 75ms (from cache) | |
107 http fetch GET 304 https://registry.npmjs.org/@octokit%2fcore 80ms (from cache) | |
108 http fetch GET 304 https://registry.npmjs.org/@octokit%2fgraphql 81ms (from cache) | |
109 http fetch GET 304 https://registry.npmjs.org/@octokit%2ftypes 82ms (from cache) | |
110 http fetch GET 304 https://registry.npmjs.org/@octokit%2ftypes 85ms (from cache) | |
111 http fetch GET 304 https://registry.npmjs.org/universal-user-agent 86ms (from cache) | |
112 http fetch GET 304 https://registry.npmjs.org/@octokit%2frequest 87ms (from cache) | |
113 timing idealTree:node_modules/@octokit/rest Completed in 91ms | |
114 silly placeDep node_modules/@octokit/core @octokit/auth-token@^2.4.0 Symbol(OK) for: @octokit/[email protected] | |
115 silly placeDep @octokit/auth-token@^2.4.0 Symbol(OK) for: @octokit/[email protected] | |
116 silly placeDep node_modules/@octokit/core @octokit/graphql@^4.3.1 Symbol(OK) for: @octokit/[email protected] | |
117 silly placeDep @octokit/graphql@^4.3.1 Symbol(OK) for: @octokit/[email protected] | |
118 silly placeDep node_modules/@octokit/core @octokit/request@^5.4.0 Symbol(OK) for: @octokit/[email protected] | |
119 silly placeDep @octokit/request@^5.4.0 Symbol(OK) for: @octokit/[email protected] | |
120 silly placeDep node_modules/@octokit/core @octokit/types@^5.0.0 Symbol(OK) for: @octokit/[email protected] | |
121 silly placeDep @octokit/types@^5.0.0 Symbol(OK) for: @octokit/[email protected] | |
122 silly placeDep node_modules/@octokit/core before-after-hook@^2.1.0 Symbol(OK) for: @octokit/[email protected] | |
123 silly placeDep before-after-hook@^2.1.0 Symbol(OK) for: @octokit/[email protected] | |
124 silly placeDep node_modules/@octokit/core universal-user-agent@^5.0.0 Symbol(OK) for: @octokit/[email protected] | |
125 silly placeDep universal-user-agent@^5.0.0 Symbol(OK) for: @octokit/[email protected] | |
126 http fetch GET 200 https://registry.npmjs.org/is-plain-object 19ms (from cache) | |
127 http fetch GET 304 https://registry.npmjs.org/universal-user-agent 58ms (from cache) | |
128 http fetch GET 304 https://registry.npmjs.org/once 61ms (from cache) | |
129 http fetch GET 304 https://registry.npmjs.org/deprecation 61ms (from cache) | |
130 http fetch GET 304 https://registry.npmjs.org/os-name 61ms (from cache) | |
131 http fetch GET 304 https://registry.npmjs.org/node-fetch 62ms (from cache) | |
132 http fetch GET 304 https://registry.npmjs.org/@types%2fnode 64ms (from cache) | |
133 http fetch GET 304 https://registry.npmjs.org/@octokit%2fendpoint 76ms (from cache) | |
134 http fetch GET 304 https://registry.npmjs.org/@octokit%2frequest-error 270ms (from cache) | |
135 timing idealTree:node_modules/@octokit/core Completed in 275ms | |
136 timing idealTree:node_modules/@octokit/auth-token Completed in 0ms | |
137 silly placeDep node_modules/@octokit/graphql universal-user-agent@^6.0.0 Symbol(OK) for: @octokit/[email protected] | |
138 silly placeDep universal-user-agent@^6.0.0 Symbol(CONFLICT) for: @octokit/[email protected] | |
139 timing idealTree:node_modules/@octokit/graphql Completed in 1ms | |
140 silly placeDep @octokit/core@>=3 Symbol(CONFLICT) for: @octokit/[email protected] | |
141 timing idealTree Completed in 841ms | |
142 timing command:install Completed in 843ms | |
143 verbose type peer | |
144 verbose stack Error: unable to resolve dependency tree | |
144 verbose stack at Arborist.[placeDep] (/Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:826:27) | |
144 verbose stack at /Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:643:46 | |
144 verbose stack at Array.map (<anonymous>) | |
144 verbose stack at Arborist.[buildDepStep] (/Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:643:8) | |
144 verbose stack at async Arborist.buildIdealTree (/Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:168:7) | |
144 verbose stack at async Promise.all (index 1) | |
144 verbose stack at async Arborist.reify (/Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:125:5) | |
144 verbose stack at async install (/Users/z/.nodenv/versions/12.8.0/lib/node_modules/npm/lib/install.js:40:5) | |
145 verbose cwd /Users/z/Desktop/my-project | |
146 verbose Darwin 19.6.0 | |
147 verbose argv "/Users/z/.nodenv/versions/12.8.0/bin/node" "/Users/z/.nodenv/versions/12.8.0/bin/npm" "i" "recent-github-activity" | |
148 verbose node v12.8.0 | |
149 verbose npm v7.0.0-beta.6 | |
150 error code ERESOLVE | |
151 error unable to resolve dependency tree | |
152 verbose exit [ 1, undefined ] |
@zeke fixed in latest beta pre-release! (npx was missing forwarding the proper options to the installer)
Nice! Thanks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks @ruyadorno.
FYI, this worked:
But this does not: