Ignite UI CLI Version
15.0.0
Framework
React
CLI Command
upgrade-packages
Node.js Version
22.20.0
Operating System
Windows
Package Manager
npm
Description
When I try to remove the trial watermark of the igniteui-react-grid in my project, by using my license and ig upgrade-packages I get an error,
Steps to Reproduce
- Generate a react project in an empty folder using an agent prompt.
- Ask the agent to add a IgrGrid.
- Upgrade the project to the licensed package using
ig upgrade-packages
Actual Result
An error is thrown.
Expected Result
The references and package reference are updated.
Error Output / Logs
$ ig upgrade-packages
The upgrade-packages command threw error - TypeError
Message: Cannot read properties of undefined (reading 'framework')
Stack: TypeError: Cannot read properties of undefined (reading 'framework')
at Object.<anonymous> (C:\Users\KDinev\AppData\Roaming\npm\node_modules\igniteui-cli\lib\commands\upgrade.js:39:46)
at Generator.next (<anonymous>)
at C:\Users\KDinev\AppData\Roaming\npm\node_modules\igniteui-cli\lib\commands\upgrade.js:8:71
at new Promise (<anonymous>)
at __awaiter (C:\Users\KDinev\AppData\Roaming\npm\node_modules\igniteui-cli\lib\commands\upgrade.js:4:12)
at Object.upgrade (C:\Users\KDinev\AppData\Roaming\npm\node_modules\igniteui-cli\lib\commands\upgrade.js:37:16)
at Object.<anonymous> (C:\Users\KDinev\AppData\Roaming\npm\node_modules\igniteui-cli\lib\commands\upgrade.js:33:28)
at Generator.next (<anonymous>)
at C:\Users\KDinev\AppData\Roaming\npm\node_modules\igniteui-cli\lib\commands\upgrade.js:8:71
at new Promise (<anonymous>)
Additional Context
The igniteui-cli should be able to work without it's config file, unless a command absolutely requires it. If it does and a config is missing, it should try to generate one and auto-determine the fields like framework based on the repository it is ran against, or should prompt the user to fill values that it requires but cannot determine.
Ignite UI CLI Version
15.0.0
Framework
React
CLI Command
upgrade-packages
Node.js Version
22.20.0
Operating System
Windows
Package Manager
npm
Description
When I try to remove the trial watermark of the igniteui-react-grid in my project, by using my license and
ig upgrade-packagesI get an error,Steps to Reproduce
ig upgrade-packagesActual Result
An error is thrown.
Expected Result
The references and package reference are updated.
Error Output / Logs
Additional Context
The igniteui-cli should be able to work without it's config file, unless a command absolutely requires it. If it does and a config is missing, it should try to generate one and auto-determine the fields like
frameworkbased on the repository it is ran against, or should prompt the user to fill values that it requires but cannot determine.