-
-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
When using ti serve -p ios with the latest CLI (and older as well), the build fails:
TypeError: Cannot read properties of undefined (reading 'commands')
at Module.config (/Users/user/.nvm/versions/node/v18.19.0/lib/node_modules/liveview/dist/node/commands/serve.js:28:46)
at CLI.loadCommand (file:///Users/user/.nvm/versions/node/v20.18.1/lib/node_modules/titanium/src/cli.js:946:32)
at async file:///Users/user/.nvm/versions/node/v20.18.1/lib/node_modules/titanium/src/cli.js:829:4
at async Command.parseAsync (/Users/user/.nvm/versions/node/v20.18.1/lib/node_modules/titanium/node_modules/commander/lib/command.js:1092:5)
at async CLI.go (file:///Users/user/.nvm/versions/node/v20.18.1/lib/node_modules/titanium/src/cli.js:532:3)
at async file:///Users/user/.nvm/versions/node/v20.18.1/lib/node_modules/titanium/src/main.js:8:2
Updating the commander usage fixes the issue, but I'm not sure where exactly it's used here, maybe @cb1kenobi knows more?
Metadata
Metadata
Assignees
Labels
No labels