ionic-team / ionic-team/ionic-angular-standalone-codemods

bug: Cannot read properties of undefined (reading 'filter')

未关闭
#51 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
20
派生
9
PR 合并指标
30 天内没有已合并 PR

描述

### Prerequisites

- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-angular-standalone-codemods) that already report this problem, without success.

### Codemod version

0.4.0

### Current Behavior

x An error occurred during the migration.
|
x TypeError: Cannot read properties of undefined (reading 'filter')
| at migrateAngularJsonAssets (C:\Users\broomfn\AppData\Local\npm-cache\_npx\ff04957b6f1fa49f\node_modules\@ionic\angular-standalone-codemods\dist\index.js:907:35)
| at runStandaloneMigration (C:\Users\broomfn\AppData\Local\npm-cache\_npx\ff04957b6f1fa49f\node_modules\@ionic\angular-standalone-codemods\dist\index.js:1033:9)
| at async main (C:\Users\broomfn\AppData\Local\npm-cache\_npx\ff04957b6f1fa49f\node_modules\@ionic\angular-standalone-codemods\dist\index.js:1139:5)

### Expected Behavior

Should work.

### Steps to Reproduce

1. npx @ionic/angular-standalone-codemods
2. Dry run - No
3. Confirm path

### Code Reproduction URL

_No response_

### Additional Information

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。