npm ERR argv “/usr/local/bin/node“ “/usr/local/bin/npm“ “install“

Darwin 20.6.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"

npm ERR! node v16.3.0

asl Err! npm v3.10.10

npm ERR! cb.apply is not a function

npm ERR!

npm ERR! If you need help, you may report this error at:

npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:

npm ERR!     /Users/yx/NFT/NFTsc/nft_art_engine-main/npm-debug.log

(base) yx@bogon nft_art_engine-main % npm run snyk-protect

npm ERR! Darwin 20.6.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "snyk-protect"

npm ERR! node v16.3.0

asl Err! npm v3.10.10

npm ERR! missing script: snyk-protect

npm ERR!

npm ERR! If you need help, you may report this error at:

npm ERR!     <https://github.com/npm/npm/issues>

 

Node and npm version matching problem: sudo n v16 reinstalls the matching version.

Guess you like

Origin blog.csdn.net/taoanbang/article/details/123008456