@illiatovpeko
Самолепный ВебдевелопЁр

Что если при создании Angular-проекта я Не получил предварительных запросов от системы, перед формированием приложения?

Начал проходить курс и уже на старте почему-то не было ожидаемого запроса. В курсе автор рекомендовал Не устанавливать роутинг (с ним будем работать позже), ну и препроцессор выбирал ... А у меня хлоп и проскочили мимо этого этапа. Возник вопрос, а не появятся ли у меня проблемы уже на старте с тем же роутером, который Не нужно было устанавливать, а возможности это обозначить не было? Автор в курсе использовал версию 8. Может быть так, что новая 9-я устанавливалась автоматически и в ней есть какие-то изменения, о которых мне следует знать?

Глянул в доках, так вот там мелькает инфа о том, что должны быть запросы, но без подробностей: " The ng new command prompts you for information about features to include in the initial app. Accept the defaults by pressing the Enter or Return key." .

В общем, как мне проконтролировать и повлиять на ситуацию? И стоит ли вообще это делать? Надеюсь инфы достаточно.

Ну и на всякий случай, раз уж пишу здесь, может подскажете как принудительно устанавливать нужную Мне версию фреймворка?

Содержимое консоли после установки (у меня винда, использую консоль bash):

CREATE angular-basics/angular.json (3630 bytes)
CREATE angular-basics/package.json (1290 bytes)
CREATE angular-basics/README.md (1030 bytes)
CREATE angular-basics/tsconfig.json (489 bytes)
CREATE angular-basics/tslint.json (3125 bytes)
CREATE angular-basics/.editorconfig (274 bytes)
CREATE angular-basics/.gitignore (631 bytes)
CREATE angular-basics/browserslist (429 bytes)
CREATE angular-basics/karma.conf.js (1026 bytes)
CREATE angular-basics/tsconfig.app.json (210 bytes)
CREATE angular-basics/tsconfig.spec.json (270 bytes)
CREATE angular-basics/src/favicon.ico (948 bytes)
CREATE angular-basics/src/index.html (299 bytes)
CREATE angular-basics/src/main.ts (372 bytes)
CREATE angular-basics/src/polyfills.ts (2835 bytes)
CREATE angular-basics/src/styles.css (80 bytes)
CREATE angular-basics/src/test.ts (753 bytes)
CREATE angular-basics/src/assets/.gitkeep (0 bytes)
CREATE angular-basics/src/environments/environment.prod.ts (51 bytes)
CREATE angular-basics/src/environments/environment.ts (662 bytes)
CREATE angular-basics/src/app/app.module.ts (314 bytes)
CREATE angular-basics/src/app/app.component.html (25725 bytes)
CREATE angular-basics/src/app/app.component.spec.ts (966 bytes)
CREATE angular-basics/src/app/app.component.ts (218 bytes)
CREATE angular-basics/src/app/app.component.css (0 bytes)
CREATE angular-basics/e2e/protractor.conf.js (808 bytes)
CREATE angular-basics/e2e/tsconfig.json (214 bytes)
CREATE angular-basics/e2e/src/app.e2e-spec.ts (647 bytes)
CREATE angular-basics/e2e/src/app.po.ts (301 bytes)
- Installing packages...
√ Packages installed successfully.
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 browserslist.
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.json.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in karma.conf.js.
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/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/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 tsconfig.app.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 tsconfig.spec.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.
  • Вопрос задан
  • 118 просмотров
Пригласить эксперта
Ответы на вопрос 2
@babtsoualiaksandr
Всё что делает CLI можно потом прикрутить ручками!! Версию можно указать при установки ангуляра или изменить в package.json
Ответ написан
Комментировать
@houd1ini
У меня была схожая проблема, если использовать git bash консоль с под виндовс. Если запустить команду через консоль редактора, или через cmd, то cli предложит все вариации.
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы