Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm 方式安装会报 /bin/sh: stylelint: command not found #133

Open
lengkaixin opened this issue May 12, 2022 · 1 comment
Open

pnpm 方式安装会报 /bin/sh: stylelint: command not found #133

lengkaixin opened this issue May 12, 2022 · 1 comment

Comments

@lengkaixin
Copy link

No description provided.

@maqinghao
Copy link

你可以看看 pnpm的这个设置,public-hoist-pattern然后 .npmrc 增加
public-hoist-pattern[]=eslint
public-hoist-pattern[]=prettier
public-hoist-pattern[]=stylelint

你试一试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants