Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

ERRO INSTALAÇÃO PACOTE BYTEBANK

C:\Users\aline>ng version

 _                      _                 ____ _     ___
/ \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|

/ △ \ | '_ \ / | | | | |/ _ | '| | | | | | | / _ | | | | (| | || | | (| | | | || | | | // \_| ||_, |_,||__,|| ___|__|| |___/

Angular CLI: 10.1.6 Node: 17.3.0 OS: win32 x64

Angular: ... Ivy Workspace:

Package Version

@angular-devkit/architect 0.1001.6 (cli-only) @angular-devkit/core 10.1.6 (cli-only) @angular-devkit/schematics 10.1.6 (cli-only) @schematics/angular 10.1.6 (cli-only) @schematics/update 0.1001.6 (cli-only)

C:\Users\aline>ng new ByteBank ? Would you like to add Angular routing? No ? Which stylesheet format would you like to use? SCSS [ http s://sass-lang.com/documentation/syntax#scss ] ERROR! ByteBank/angular.json already exists. ERROR! ByteBank/package.json already exists. ERROR! ByteBank/README.md already exists. ERROR! ByteBank/tsconfig.json already exists. ERROR! ByteBank/tslint.json already exists. ERROR! ByteBank/.editorconfig already exists. ERROR! ByteBank/.gitignore already exists. ERROR! ByteBank/.browserslistrc already exists. ERROR! ByteBank/karma.conf.js already exists. ERROR! ByteBank/tsconfig.app.json already exists. ERROR! ByteBank/tsconfig.spec.json already exists. ERROR! ByteBank/src/favicon.ico already exists. ERROR! ByteBank/src/index.html already exists. ERROR! ByteBank/src/main.ts already exists. ERROR! ByteBank/src/polyfills.ts already exists. ERROR! ByteBank/src/styles.scss already exists. ERROR! ByteBank/src/test.ts already exists. ERROR! ByteBank/src/assets/.gitkeep already exists. ERROR! ByteBank/src/environments/environment.prod.ts already exists. ERROR! ByteBank/src/environments/environment.ts already exists. ERROR! ByteBank/src/app/app.module.ts already exists. ERROR! ByteBank/src/app/app.component.html already exists. ERROR! ByteBank/src/app/app.component.spec.ts already exists. ERROR! ByteBank/src/app/app.component.ts already exists. ERROR! ByteBank/src/app/app.component.scss already exists. ERROR! ByteBank/e2e/protractor.conf.js already exists. ERROR! ByteBank/e2e/tsconfig.json already exists. ERROR! ByteBank/e2e/src/app.e2e-spec.ts already exists. ERROR! ByteBank/e2e/src/app.po.ts already exists. The Schematic workflow failed. See above.

1 resposta
solução!

Oi Aline, tudo bem?

Você está tentando criar um novo projeto Angular chamado ByteBank, mas está recebendo vários erros informando que os arquivos já existem. Isso geralmente acontece quando você tenta criar um projeto com um nome que já foi usado anteriormente.

Uma solução para esse problema é escolher um nome diferente para o seu projeto. Por exemplo, em vez de "ng new ByteBank", você pode tentar "ng new MeuByteBank" ou qualquer outro nome que ainda não tenha sido utilizado.

Caso você realmente precise usar o nome ByteBank, sugiro que você exclua todos os arquivos e pastas relacionados ao projeto anterior antes de tentar criar um novo projeto com o mesmo nome.

Esse curso recebeu uma atualização:

Um abraço e bons estudos.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software