Can't seem to install JS Plugin.
Closed this issue ยท 3 comments
What did you expect? ๐ง
To run npm install @swup/js-plugin
command found on the doc page and it install.
What actually happened? ๐ตโ๐ซ
Error output and the plugin not installing.
Apologies if this is a simple issue of dependencies needing to be updated, I'm not familiar with contributions.
npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser npm WARN deprecated @babel/plugin-proposal-class-properties@7.12.1: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead. npm ERR! code Z_DATA_ERROR npm ERR! errno -3 npm ERR! zlib: incorrect data check
Swup and plugin versions ๐
- swup: 4.5.0
- Trying the latest 3.1.1
What browsers are you seeing the problem on? ๐งญ
No response
Relevant log output ๐ค
No response
URL to minimal reproduction ๐
Locally currently
Checked all these? ๐
- I have read and searched the official docs
- I have checked discussions and existing issues for related problems
- I agree to follow this project's Code of Conduct
- I have provided all necessary information to the best of my knowledge
Seems like zlib
is having difficulty unpacking the downloaded file from npm, possibly from a corrupted file. Could this be a local network error? Just tried the install here and it seems to go through fine.
Thanks for checking - I managed to install every other plugin I was getting set up with, but it's just this one that's proving problematic.
Saying that, it's obviously not an issue with the plugin so I'll close this.
Feel free to delete the issue - It was down to a Node version requirement