wwd messing up .ts files in my project's node_modules

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

Ionic プロジェクトで WWD 0.10.14.202205271506 または 1.0.1.202211231523 を使って問題を再現し、その後 node_modules/@ionic/angular 配下の変更、特に dist/directives/control-value-accessors/value-accessor.d.ts を調査します。WWD がこれらの TypeScript ファイルを変更するかどうかを確認して原因を確定し、ファイルが変更されず、ionic cordova build android が成功すれば issue は完了とします。

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

説明

Not sure why this is happening, but if I enable wwd (version 0.10.14.202205271506 and 1.0.1.202211231523) in my Eclipse, the typescript files in my Ionic project's node_modules/@ionic/angular are modified such that when I try ionic cordova build android, it produces the following error:

ERROR in node_modules/@ionic/angular/dist/directives/control-value-accessors/value-accessor.d.ts:16:23 - error TS2314: Generic type 'ɵɵBaseDef<T>' requires 1 type argument(s). static ngBaseDef: ɵngcc0.ɵɵBaseDef;

The only way to fix this is to erase the entire node_modules directory and run npm install again, but if I continue to use Eclipse, after a while, the typescript files will be modified again and error will reappear.

主要言語
Java
スター
203
フォーク
76
平均マージ
1日 5時間
マージ済み PR(30日)
30

環境構築

はじめの一歩

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

eclipse-wildwebdeveloper/wildwebdeveloper のほかの issue

eclipse-wildwebdeveloper/wildwebdeveloper の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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