问题
npm WARN lifecycle The node binary used for scripts is /var/folders/v1/r74shgfs7dd78lrz5rz7xznr0000gn/T/yarn--1593737037587-0.95370121034529/node but npm is using /Users/gavin/.nvm/versions/node/v13.11.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
直接执行:
npm config set scripts-prepend-node-path true