Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Erro] Versão do node indicada no README não está certa #492

Closed
Theryston opened this issue Jul 12, 2022 · 1 comment
Closed

[Erro] Versão do node indicada no README não está certa #492

Theryston opened this issue Jul 12, 2022 · 1 comment
Labels
bug Comportamento diferente do esperado

Comments

@Theryston
Copy link

No README diz que para rodar o tabnews eu preciso ter a versão do Node.js 16 ou superior para rodar o projeto, mas então tentei instalar as dependências usando a versão LTS que atualmente é a v16.16.0 mas tive o seguinte erro:

npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @primer/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"18.1.0" from the root project
npm ERR!   peer react@"*" from @bytemd/[email protected]
npm ERR!   node_modules/@bytemd/react
npm ERR!     @bytemd/react@"1.15.0" from the root project
npm ERR!   10 more (@primer/octicons-react, @primer/octicons-react, next, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.0" from @primer/[email protected]
npm ERR! node_modules/@primer/react
npm ERR!   @primer/react@"35.2.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"^17.0.0" from @primer/[email protected]
npm ERR!   node_modules/@primer/react
npm ERR!     @primer/react@"35.2.1" 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\funkt\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\funkt\AppData\Local\npm-cache\_logs\2022-07-12T23_19_48_860Z-debug-0.log
@Theryston Theryston added the bug Comportamento diferente do esperado label Jul 12, 2022
@filipedeschamps
Copy link
Owner

@Theryston você está certo! Como consertar esse problema na raiz está sendo tratado na issue #445

Em paralelo, sugiro por enquanto instalar exatamente a versão 16.15.0 que deverá funcionar 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Comportamento diferente do esperado
Projects
None yet
Development

No branches or pull requests

2 participants