Solucionado (ver solução)
Solucionado
(ver solução)
4
respostas

INSTALAÇÃO ANGULAR

Bom dia, eu realizei a instalação do Angular, porem me retornou uma respostas diferente a do instrutor, como sou novato nessa linguagem eu não sei se isso é que deu tudo certo ou tem algu de erro.

> @angular/cli@6.0.8 postinstall C:\Users\Victor Padovan\Desktop\cursoangular\node_modules\@angular\cli
> node ./bin/ng-update-message.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

added 1105 packages in 520.008s
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in angular.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/protractor.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.po.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/tsconfig.e2e.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/browserslist.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.prod.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/karma.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/main.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/polyfills.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/styles.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/test.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/tsconfig.app.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/tsconfig.spec.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/tslint.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tslint.json.
The file will have its original line endings in your working directory
    Successfully initialized git.
4 respostas

Oi Victor tudo bem,

Tenta atualizar a versão do node

https://nodejs.org/en/download/

Boa tarde, Amigo. Eu instalei a versão do node mais atualizado porem ocorreu o mesmo problema estou usando o angular na versão passada na aula, e na aula o instrutor citou que utilizar versão superior a 8.X resultaria em incompatibilidade com oque seria passado na aula.

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.6.7
@angular-devkit/core         0.6.7
@angular-devkit/schematics   0.6.7
@schematics/angular          0.6.7
@schematics/update           0.6.7
rxjs                         6.3.3
typescript                   2.7.2

Versão do NODE atualizado :

>node -v
v10.14.1

Erro ocorrido novamente:

The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tslint.json.
The file will have its original line endings in your working directory
    Successfully initialized git.
solução!

Olá Victor, tudo bom?

Você não consegue seguir com os próximos passos ignorando esses warnings?

Isso está acontecendo provavelmente por que você está utilizando um sistema windows, enquanto os arquivos oriundos desse repositório vieram de um sistema Unix.

Em sistemas unix, a terminação de uma linha é representada com um "Line Feed" (LF), enquanto no windows é representado com um "Carriege Return" e um "Line Feed".

Quando baixamos de um sistema Unix, só teremos o "LF"

Esses warnings servem apenas para avisar que ele converteu isso automaticamente para você, substituindo "LF" do Unix pelo seu correspondente no windows "CRLF"

Tente seguir com o curso normalmente, provavelmente você não terá problemas, mas caso tenha, volte a postar!

Espero ter ajudado!

Abraços e bons estudos!

Obrigado, minha duvida mesmo erá se esse retorno que tive no terminal era algum problema.