Closed
Description
Prerequisites
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Codemod version
0.0.7
Current Behavior
An error occurs when running the utility:
┌ Ionic Angular Standalone Codemods
┌ This utility will migrate your Ionic Angular project to use the new standalone components from Ionic Framework v7.5.0.
│
▲ --------------------------------------------------
│
▲ ⚠️ This utility is experimental. Always review the changes made before committing them to your project. ⚠️
│
▲ For manual migration, see the guide at: https://www.ionicframework.com/docs/angular/build-options#migrating-from-modules-to-standalone
│
▲ --------------------------------------------------
│
◇ Would you like to run this migration as a dry run? No changes will be written to your project.
│ Yes
│
◇ Please enter the path to your project (default is the current working directory):
│ /Users/<myusername>/Apps/<projectfolder>
│
■ An error occurred during the migration.
│
■ Cannot read properties of undefined (reading 'getText')
│
└ If you encounter any issues with this migration utility, please report them at: https://github.com/ionic-team/ionic-angular-standalone-codemods/issues
Expected Behavior
The utility should run.
Steps to Reproduce
npx @ionic/angular-standalone-codemods
in terminal at the package folder- Hit 'Yes'
- Use current directory
Code Reproduction URL
No response
Additional Information
Ionic Version: 7.5.6
Angular Version: 17.0.4
Typescript Version: 5.2.2
Node Version: 20.10.0