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

オープン
#4,840 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
angular, typescript
領域
build-system, cli

調査の方向性

まず ng build --prod を再現し、ion-row とイベント値のエラーが報告されている 27 行目付近の mobile/src/app/modules/features/home/home.page.html を調査します。本番ビルドとローカル実行を比較し、不足しているプロジェクトまたは環境の詳細を特定します。完了の条件は、再現可能な診断と、一覧にあるビルドエラーが解決されたことの確認です。

索引モデルが issue の本文から書いたものです。

説明

triage

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:

主要言語
TypeScript
スター
2k
フォーク
681
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/ionic-cli のほかの issue

ionic-team/ionic-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。