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

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

Open
#51 0 comments 1 reaction 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
20
Forks
9
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.