Skip to content

关于使用 yarn 出现 npm WARN lifecycle The node binary used for scripts 的错误 #38

@QC-L

Description

@QC-L

在使用 brew 更新 yarn 时(官方推荐),可能会误安装 node,会致使在使用 yarn 调用 npm 时会爆出如下警告

image

如遇到如下问题,请使用解决:

npm config set scripts-prepend-node-path true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions