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

Postinstall script fails on windows #240

Open
Hypersycos opened this issue Aug 22, 2024 · 1 comment
Open

Postinstall script fails on windows #240

Hypersycos opened this issue Aug 22, 2024 · 1 comment

Comments

@Hypersycos
Copy link

The current postinstall script
npx install-peerdeps @wfcd/eslint-config@latest -S
in package.json fails on windows with the error
err spawn einval

It can be bypassed by installing with scripts disabled and then manually installing the es-lint config. I believe it's something to do with this security patch, but I couldn't figure out how to pass the parameter.

@TobiTenno
Copy link
Member

yes, it's caused by nathanhleung/install-peerdeps#125

given that our CI is on not-Windows, and this doesn't fail in WSL, i'd recommend using WSL (generally i recommend using it over barebacking windows anyway)

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