Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Ionic info command returns error

$
0
0

I’m getting the following error when I run ionic info

SyntaxError: Unexpected token U in JSON at position 0

at JSON.parse (<anonymous>)
at Integration.<anonymous> (/usr/local/lib/node_modules/@ionic/cli/lib/integrations/capacitor/index.js:33:25)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async Integration.<anonymous> (/usr/local/lib/node_modules/@ionic/cli/lib/integrations/capacitor/index.js:36:25)
at async Integration.getInfo (/usr/local/lib/node_modules/@ionic/cli/lib/integrations/capacitor/index.js:119:22)
at async Promise.all (index 0)
at async AngularProject.getInfo (/usr/local/lib/node_modules/@ionic/cli/lib/project/index.js:413:48)
at async AngularProject.getInfo (/usr/local/lib/node_modules/@ionic/cli/lib/project/angular/index.js:24:17)
at async Environment.getInfo (/usr/local/lib/node_modules/@ionic/cli/lib/index.js:84:27)
at async InfoCommand.run (/usr/local/lib/node_modules/@ionic/cli/commands/info.js:30:24)

The app runs fine otherwise. Not sure of the cause. Any clues?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles