Skip to content

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

Description

@broomfn

Prerequisites

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions