-
Notifications
You must be signed in to change notification settings - Fork 237
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
kit can fail to run, with zlib errors #2405
Comments
another user has had this issue - seems to be affecting Windows so far Update - has been reported on Mac too |
I ran into this too, on MacOS. https://github.com/joelanman/govuk-prototype-kit-prototype got me up and running, cheers @joelanman |
Just to add to this - It looks like this is affecting latest node minor versions - node version 18.20.0 it fails, however on version 18.19.0 it works - Same for 20.12.0 it fails but 20.11.0 succeeds. This issue is stopping the creation of new prototypes. |
Looks like this is caused by a change in npm v10.4.0 – I can get the same behaviour on node v20.11.0 by bumping npm:
I think we're seeing this with the latest minor versions of node only because they come with the newer npm version? I would like to understand exactly what change in 10.4.0 has caused this issue but probably not worth sinking any more time into it. Regardless, I think removing the dependency on |
yeh it's weird I can't see how it ever worked, given we are requiring that package, and it is too old and doesn't work there is a wider bug - the |
Description of the issue
A user is reporting this error, from the use of a 13 year old version of
zlib
kkaefer/DEPRECATED-node-zlib#14
I've raised a PR to fix:
#2404
As a workaround until the fix is merged you can fork or clone this starter repo instead:
https://github.com/joelanman/govuk-prototype-kit-prototype
Another workaround is to try a different version of Node
The text was updated successfully, but these errors were encountered: