[Solved] The solution to node-pre-gyp install –fallback-to-build

Just started construction today and found that the project can’t run

First delete the node package
Then re-npm install
reported an error


Baidu said it was due to the problem of the node source, but the author himself is the tb source
Later, I saw something else, I can down this package to solve this problem:

npm install -g node-gyp

Make sure the package is installed
Then run the above process again