warframe-items icon indicating copy to clipboard operation
warframe-items copied to clipboard

[Bug] NPM prepare script fails on windows

Open Hypersycos opened this issue 1 year ago • 1 comments

Describe the bug

NPM prepare script fails on windows

NodeJS Version

20.12.2

npm Version

10.5.0

warframe-items Version

1.1262.114

Access Method

npm Package (Default)

What happened?

The current prepare 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.

This issue is shared with warframe-relic-data, and likely all other projects using the eslint-config, though I haven't checked.

Hypersycos avatar Aug 22 '24 14:08 Hypersycos

yes, it's caused by https://github.com/nathanhleung/install-peerdeps/issues/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)

TobiTenno avatar Aug 22 '24 15:08 TobiTenno

@Hypersycos let me know if my change works for you

TobiTenno avatar Mar 24 '25 18:03 TobiTenno

:tada: This issue has been resolved in version 1.1267.63 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

wfcd-bot-boi avatar Mar 26 '25 04:03 wfcd-bot-boi