swup / js-plugin

A swup plugin for managing animations in JS  🎸
https://swup.js.org/plugins/js-plugin
MIT License
23 stars 5 forks source link

Can't seem to install JS Plugin. #34

Closed ryandc closed 10 months ago

ryandc commented 10 months ago

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 πŸ“

What browsers are you seeing the problem on? 🧭

No response

Relevant log output πŸ€“

No response

URL to minimal reproduction πŸ”—

Locally currently

Checked all these? πŸ“š

daun commented 10 months ago

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.

ryandc commented 10 months ago

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.

ryandc commented 10 months ago

Feel free to delete the issue - It was down to a Node version requirement