yarn 运行报错

ln -f -s ~/.config/yarn/global/node_modules/@tarojs/cli/bin/taro /usr/local/bin/taro

警告:
npm WARN lifecycle The node binary used for scripts is /var/folders/z8/c3737pgn2f96mptmvpv0t8nr0000gn/T/yarn--1553793999298-0.9553977885581406/node but npm is using /usr/local/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

你可能感兴趣的:(yarn 运行报错)