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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容