📅  最后修改于: 2022-03-11 14:51:11.308000             🧑  作者: Mango
i have tried upgrading node-gyp:
sudo npm install -g node-gyp
It worked for me.
I find the solution here, I hope it can help.