ionic-team / ionic-team/ionic-cli

ng build --prod facing many build issues in ionic app while running web ionic app parallely

Aberta
#4,840 0 comentários 0 reações 0 responsáveis Ver no GitHub
triage
Linguagem predominante
TypeScript
Estrelas
2k
Forks
682
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Description:**
After running the build command - ng build --prod in the application, getting several issues.which are are not displayed while running the app locally

1/ Importing component more than one module.
2/ Property does not exist
3/ ion-col is not an element

**Steps to Reproduce:**

While running command ng build --prod

**Output:**

**My `ionic info`:**

```
1/ Error: mobile/src/app/modules/features/home/home.page.html:27:5 - error NG8001: 'ion-row' is not a known element:
1. If 'ion-row' is an Angular component, then verify that it is part of this module.
2. If 'ion-row' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.

2/ Error: - error TS2339: Property 'value' does not exist on type 'EventTarget'.
(ionChange)="onValueChanged($event.target.value)"
```

**Other Information:**

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reproducing `ng build --prod` and inspect `mobile/src/app/modules/features/home/home.page.html` around line 27, where the `ion-row` and event value errors are reported. Compare the production build with the local run and identify the missing project or environment details; done requires a reproducible diagnosis and confirmed resolution of the listed build errors.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
angular, typescript
Domínio
build-system, cli
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.