2
respostas

[Projeto] NPM Install do AluraPic não funciona

Prezados,

baixei o projeto do Alurapic e rodei pelo Ubuntu via WSL.

Ubuntu Ok WSL Ok VSCode Ok Cypress Ok Node.js v16.13.1 Ok

Depois, segui os seguintes passos:

  1. Entrei no WSL
  2. Entrei com cd /mnt/c/alurapic
  3. Executei o npm install e recebi as mensagens abaixo:

Podem me ajudar?

Obrigado.

npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @angular-devkit/build-angular@16.1.4 npm ERR! Found: protractor@5.4.4 npm ERR! node_modules/protractor npm ERR! dev protractor@"^5.4.4" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peerOptional protractor@"^7.0.0" from @angular-devkit/build-angular@16.1.4 npm ERR! node_modules/@angular-devkit/build-angular npm ERR! dev @angular-devkit/build-angular@"^16.1.4" from the root project npm ERR! npm ERR! Conflicting peer dependency: protractor@7.0.0 npm ERR! node_modules/protractor npm ERR! peerOptional protractor@"^7.0.0" from @angular-devkit/build-angular@16.1.4 npm ERR! node_modules/@angular-devkit/build-angular npm ERR! dev @angular-devkit/build-angular@"^16.1.4" 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! npm ERR! For a full report see: npm ERR! /home/mhormes/.npm/_logs/2023-07-17T17_34_07_486Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /home/mhormes/.npm/_logs/2023-07-17T17_34_07_486Z-debug-0.log

2 respostas

Veja se não está tentando fazer a instalação no Windows. Antes de tentar instalar novamente de o comando

'cd ~'

e tenta novamente

NPM Start não funciona. Help!!!