I’ve moved on to doing everything semi-manually just to get through it. I believe the command was:
pxt target microbit
I also tried, npm install pxt-common-packages
and got the same error. I think I tried something like npm install pxt-microbit
and got a different JSON parsing error. I got these packages out of the error logs so I can’t recall exactly.
So far, doing it manually is not so bad. It would be nice if I could at least get some typedefs from pxt-microbit and pxt-neopixel though.