I am unable to install ionic through npm. Are there any logs that I can check to see what's wrong and if yes, where are they located?
What I see is the waiting stick dancing forever. I've waited for an hour or so but nothing changes.
Append this to the command --loglevel verbose
and all logs will be shown on STDERR and saved to npm-debug.log
in current working directory.
like npm install ionic --loglevel verbose
It will show the logs in realtime + saves the log to directory its running.
For permanent solution , Just edit npm config npm config edit
and add loglevel=verbose
now every npm command will show detailed logs.