Что нового

Как решить проблему с установлением npm пакета? (1 Viewer)

  • Автор темы span4bek
  • Дата начала
span4bek

span4bek

Участник
OLD SkripTers
Регистрация
18 Дек 2019
Сообщения
128
Реакции
97
Пытаюсь установить готовый и запустить готовый приложение на Node JS, Angular JS

Выводится в консоле такая ошибка
Код:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: banshop@0.0.0
npm ERR! Found: @typescript-eslint/parser@5.18.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"^5.15.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/parser@"~5.10.0" from @nrwl/eslint-plugin-nx@13.9.3
npm ERR! node_modules/@nrwl/eslint-plugin-nx
npm ERR!   dev @nrwl/eslint-plugin-nx@"13.9.3" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\sanab\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\sanab\AppData\Local\npm-cache\_logs\2022-04-09T19_28_10_865Z-debug-0.log
 
C:\Users\sanab\AppData\Local\npm-cache\_logs\2022-04-09T19_28_10_865Z-debug-0.log

Что там?
 
C:\Users\sanab\AppData\Local\npm-cache\_logs\2022-04-09T19_28_10_865Z-debug-0.log

Что там?

Bash:
0 verbose cli [
0 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
0 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli   'install'
0 verbose cli ]
1 info using npm@8.5.0
2 info using node@v16.14.2
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:C:\Users\sanab\Desktop\DIPLOMA\.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:C:\Users\sanab\.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:C:\Users\sanab\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 10ms
19 timing npm:load:configload Completed in 10ms
20 timing npm:load:setTitle Completed in 0ms
21 timing config:load:flatten Completed in 2ms
22 timing npm:load:display Completed in 3ms
23 verbose logfile C:\Users\sanab\AppData\Local\npm-cache\_logs\2022-04-09T20_01_15_289Z-debug-0.log
24 timing npm:load:logFile Completed in 6ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 20ms
28 timing arborist:ctor Completed in 0ms
29 silly logfile start cleaning logs, removing 2 files
30 timing arborist:ctor Completed in 0ms
31 timing idealTree:init Completed in 12ms
32 timing idealTree:userRequests Completed in 0ms
33 silly idealTree buildDeps
34 silly fetch manifest @angular/animations@^13.3.0
35 http fetch GET 200 https://registry.npmjs.org/@angular%2fanimations 347ms (cache revalidated)
36 silly fetch manifest @angular/core@^13.3.0
37 http fetch GET 200 https://registry.npmjs.org/@angular%2fcore 137ms (cache revalidated)
38 silly fetch manifest rxjs@~7.4.0
39 http fetch GET 200 https://registry.npmjs.org/rxjs 6ms (cache hit)
40 silly fetch manifest zone.js@~0.11.5
41 http fetch GET 200 https://registry.npmjs.org/zone.js 112ms (cache revalidated)
42 silly fetch manifest @angular/cdk@^13.3.0
43 http fetch GET 200 https://registry.npmjs.org/@angular%2fcdk 120ms (cache revalidated)
44 silly fetch manifest @angular/common@^13.3.0
45 http fetch GET 200 https://registry.npmjs.org/@angular%2fcommon 111ms (cache revalidated)
46 silly fetch manifest @angular/compiler@^13.3.0
47 http fetch GET 200 https://registry.npmjs.org/@angular%2fcompiler 118ms (cache revalidated)
48 silly fetch manifest @angular/forms@^13.3.0
49 http fetch GET 200 https://registry.npmjs.org/@angular%2fforms 158ms (cache revalidated)
50 silly fetch manifest @angular/platform-browser@^13.3.0
51 http fetch GET 200 https://registry.npmjs.org/@angular%2fplatform-browser 134ms (cache revalidated)
52 silly fetch manifest @angular/localize@^13.3.0
53 http fetch GET 200 https://registry.npmjs.org/@angular%2flocalize 967ms (cache revalidated)
54 silly fetch manifest @angular/compiler-cli@^13.3.0
55 http fetch GET 200 https://registry.npmjs.org/@angular%2fcompiler-cli 113ms (cache revalidated)
56 silly fetch manifest typescript@~4.5.5
57 http fetch GET 200 https://registry.npmjs.org/typescript 12ms (cache hit)
58 silly fetch manifest @angular/material@^13.3.0
59 http fetch GET 200 https://registry.npmjs.org/@angular%2fmaterial 120ms (cache revalidated)
60 silly fetch manifest @angular/platform-browser-dynamic@^13.3.0
61 http fetch GET 200 https://registry.npmjs.org/@angular%2fplatform-browser-dynamic 108ms (cache revalidated)
62 silly fetch manifest @angular/platform-server@^13.3.0
63 http fetch GET 200 https://registry.npmjs.org/@angular%2fplatform-server 155ms (cache revalidated)
64 silly fetch manifest @angular/router@^13.3.0
65 http fetch GET 200 https://registry.npmjs.org/@angular%2frouter 150ms (cache revalidated)
66 silly fetch manifest @ngrx/component-store@^13.0.2
67 http fetch GET 200 https://registry.npmjs.org/@ngrx%2fcomponent-store 1067ms (cache revalidated)
68 silly fetch manifest @ngrx/effects@^13.0.2
69 http fetch GET 200 https://registry.npmjs.org/@ngrx%2feffects 122ms (cache revalidated)
70 silly fetch manifest @ngrx/store@^13.0.2
71 http fetch GET 200 https://registry.npmjs.org/@ngrx%2fstore 240ms (cache revalidated)
72 silly fetch manifest @ngrx/entity@^13.0.2
73 http fetch GET 200 https://registry.npmjs.org/@ngrx%2fentity 215ms (cache revalidated)
74 silly fetch manifest @ngrx/router-store@^13.0.2
75 http fetch GET 200 https://registry.npmjs.org/@ngrx%2frouter-store 124ms (cache revalidated)
76 silly fetch manifest @nguniversal/express-engine@^13.0.2
77 http fetch GET 200 https://registry.npmjs.org/@nguniversal%2fexpress-engine 1085ms (cache revalidated)
78 silly fetch manifest express@^4.17.3
79 http fetch GET 200 https://registry.npmjs.org/express 105ms (cache revalidated)
80 silly fetch manifest @nrwl/angular@13.9.3
81 http fetch GET 200 https://registry.npmjs.org/@nrwl%2fangular 138ms (cache revalidated)
82 silly fetch manifest angular-imask@^6.4.2
83 http fetch GET 200 https://registry.npmjs.org/angular-imask 778ms (cache revalidated)
84 silly fetch manifest compression@^1.7.4
85 http fetch GET 200 https://registry.npmjs.org/compression 116ms (cache revalidated)
86 silly fetch manifest hammerjs@^2.0.8
87 http fetch GET 200 https://registry.npmjs.org/hammerjs 115ms (cache revalidated)
88 silly fetch manifest tslib@^2.3.1
89 http fetch GET 200 https://registry.npmjs.org/tslib 4ms (cache hit)
90 silly fetch manifest @angular-builders/custom-webpack@^13.1.0
91 http fetch GET 200 https://registry.npmjs.org/@angular-builders%2fcustom-webpack 1528ms (cache revalidated)
92 silly fetch manifest @angular-devkit/build-angular@^13.3.0
93 http fetch GET 200 https://registry.npmjs.org/@angular-devkit%2fbuild-angular 119ms (cache revalidated)
94 silly fetch manifest @angular/service-worker@^13.0.0 || ^13.3.0-rc.0
95 http fetch GET 200 https://registry.npmjs.org/@angular%2fservice-worker 1029ms (cache revalidated)
96 silly fetch manifest karma@^6.3.0
97 http fetch GET 200 https://registry.npmjs.org/karma 112ms (cache revalidated)
98 silly fetch manifest ng-packagr@^13.0.0
99 http fetch GET 200 https://registry.npmjs.org/ng-packagr 110ms (cache revalidated)
100 silly fetch manifest protractor@^7.0.0
101 http fetch GET 200 https://registry.npmjs.org/protractor 113ms (cache revalidated)
102 silly fetch manifest tailwindcss@^2.0.0 || ^3.0.0
103 http fetch GET 200 https://registry.npmjs.org/tailwindcss 130ms (cache revalidated)
104 silly fetch manifest autoprefixer@^10.0.2
105 http fetch GET 200 https://registry.npmjs.org/autoprefixer 118ms (cache revalidated)
106 silly fetch manifest postcss@^8.1.0
107 http fetch GET 200 https://registry.npmjs.org/postcss 90ms (cache revalidated)
108 silly fetch manifest @angular-eslint/eslint-plugin@^13.1.0
109 http fetch GET 200 https://registry.npmjs.org/@angular-eslint%2feslint-plugin 134ms (cache revalidated)
110 silly fetch manifest eslint@^8.11.0
111 http fetch GET 200 https://registry.npmjs.org/eslint 5ms (cache hit)
112 silly fetch manifest @angular-eslint/eslint-plugin-template@^13.1.0
113 http fetch GET 200 https://registry.npmjs.org/@angular-eslint%2feslint-plugin-template 118ms (cache revalidated)
114 silly fetch manifest @angular-eslint/template-parser@^13.1.0
115 http fetch GET 200 https://registry.npmjs.org/@angular-eslint%2ftemplate-parser 120ms (cache revalidated)
116 silly fetch manifest @angular/cli@^13.3.0
117 http fetch GET 200 https://registry.npmjs.org/@angular%2fcli 151ms (cache revalidated)
118 silly fetch manifest @angular/language-service@^13.3.0
119 http fetch GET 200 https://registry.npmjs.org/@angular%2flanguage-service 108ms (cache revalidated)
120 silly fetch manifest @ngrx/schematics@^13.0.2
121 http fetch GET 200 https://registry.npmjs.org/@ngrx%2fschematics 142ms (cache revalidated)
122 silly fetch manifest @ngrx/store-devtools@^13.0.2
123 http fetch GET 200 https://registry.npmjs.org/@ngrx%2fstore-devtools 139ms (cache revalidated)
124 silly fetch manifest @nguniversal/builders@^13.0.2
125 http fetch GET 200 https://registry.npmjs.org/@nguniversal%2fbuilders 1708ms (cache revalidated)
126 silly fetch manifest @nrwl/cli@13.9.3
127 http fetch GET 200 https://registry.npmjs.org/@nrwl%2fcli 7ms (cache hit)
128 silly fetch manifest @nrwl/cypress@13.9.3
129 http fetch GET 200 https://registry.npmjs.org/@nrwl%2fcypress 154ms (cache revalidated)
130 silly fetch manifest cypress@^9.5.2
131 http fetch GET 200 https://registry.npmjs.org/cypress 127ms (cache revalidated)
132 silly fetch manifest @nrwl/eslint-plugin-nx@13.9.3
133 http fetch GET 200 https://registry.npmjs.org/@nrwl%2feslint-plugin-nx 137ms (cache revalidated)
134 silly fetch manifest @typescript-eslint/parser@^5.15.0
135 http fetch GET 200 https://registry.npmjs.org/@typescript-eslint%2fparser 130ms (cache revalidated)
136 silly fetch manifest @typescript-eslint/parser@~5.10.0
137 timing idealTree Completed in 13819ms
138 timing command:install Completed in 13829ms
139 verbose stack Error: unable to resolve dependency tree
139 verbose stack     at Arborist.[failPeerConflict] (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1399:25)
139 verbose stack     at Arborist.[loadPeerSet] (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1365:34)
139 verbose stack     at async Arborist.[buildDepStep] (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:951:11)
139 verbose stack     at async Arborist.buildIdealTree (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:215:7)
139 verbose stack     at async Promise.all (index 1)
139 verbose stack     at async Arborist.reify (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:152:5)
139 verbose stack     at async Install.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\install.js:157:5)
139 verbose stack     at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:66:5)
140 verbose cwd C:\Users\sanab\Desktop\DIPLOMA
141 verbose Windows_NT 10.0.22000
142 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
143 verbose node v16.14.2
144 verbose npm  v8.5.0
145 error code ERESOLVE
146 error ERESOLVE unable to resolve dependency tree
147 error
148 error While resolving: [1mbanshop[22m@[1m0.0.0[22m
148 error Found: [1m@typescript-eslint/parser[22m@[1m5.18.0[22m[2m[22m
148 error [2mnode_modules/@typescript-eslint/parser[22m
148 error   [33mdev[39m [1m@typescript-eslint/parser[22m@"[1m^5.15.0[22m" from the root project
148 error
148 error Could not resolve dependency:
148 error [35mpeer[39m [1m@typescript-eslint/parser[22m@"[1m~5.10.0[22m" from [1m@nrwl/eslint-plugin-nx[22m@[1m13.9.3[22m[2m[22m
148 error [2mnode_modules/@nrwl/eslint-plugin-nx[22m
148 error   [33mdev[39m [1m@nrwl/eslint-plugin-nx[22m@"[1m13.9.3[22m" from the root project
148 error
148 error Fix the upstream dependency conflict, or retry
148 error this command with --force, or --legacy-peer-deps
148 error to accept an incorrect (and potentially broken) dependency resolution.
148 error
148 error See C:\Users\sanab\AppData\Local\npm-cache\eresolve-report.txt for a full report.
149 verbose exit 1
150 timing npm Completed in 14063ms
151 verbose unfinished npm timer reify 1649534475513
152 verbose unfinished npm timer reify:loadTrees 1649534475521
153 verbose unfinished npm timer idealTree:buildDeps 1649534475534
154 verbose unfinished npm timer idealTree:#root 1649534475534
155 verbose code 1
156 error A complete log of this run can be found in:
156 error     C:\Users\sanab\AppData\Local\npm-cache\_logs\2022-04-09T20_01_15_289Z-debug-0.log
 
Если коротко то мне надо запустить вот это

https://github.com/Fafnur/banshop
 
npm install --legacy-peer-deps
 

Пользователи, просматривающие данную тему

Верх