For context, I'm using an M1 (Apple silicon) Mac with Node running natively. Unfortunately it's hard to be very specific about what's going wrong, because I'm getting so many different error messages. But I've been trying to get the development server up and running again for hours to no avail. So I ran brew install node and managed to reinstall npm and gatsby-cli. Then I realised npm itself had been wiped. When I tried running gatsby develop, the gatsby command was no longer recognised. I got a message to the effect that about 800 packages had been deleted. I was working on a Gatsby site and decided to update gatsby-cli, so I typed (if I remember right) something like npm update -g gatsby (which isn't the right command). This is going to be a tricky one to explain because so much has gone wrong all at once.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |