Скачав архив проекта с Гита , я пытался его запустить . Написав npm install , получил пару предупреждений .
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-reconciler@0.23.0
npm WARN Found: react@17.0.2
npm WARN node_modules/react
npm WARN react@"^17.0.2" from the root project
npm WARN 9 more (@react-pdf/renderer, @testing-library/react, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"^16.0.0" from react-reconciler@0.23.0
npm WARN node_modules/@react-pdf/renderer/node_modules/react-reconciler
npm WARN react-reconciler@"^0.23.0" from @react-pdf/renderer@2.3.0
npm WARN node_modules/@react-pdf/renderer
npm WARN
npm WARN Conflicting peer dependency: react@16.14.0
npm WARN node_modules/react
npm WARN peer react@"^16.0.0" from react-reconciler@0.23.0
npm WARN node_modules/@react-pdf/renderer/node_modules/react-reconciler
npm WARN react-reconciler@"^0.23.0" from @react-pdf/renderer@2.3.0
npm WARN node_modules/@react-pdf/renderer
up to date, audited 1940 packages in 10s
171 packages are looking for funding
run `npm fund` for details
28 vulnerabilities (1 low, 1 moderate, 18 high, 8 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
После этого написал npm start и просто выводит это :
> med-site@0.1.0 start
> node server.js
И все , он не запускается . И еще одно предупреждение :
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
Вопрос задан
более двух лет назад
393 просмотра