swup/js-plugin

Can't seem to install JS Plugin.

Closed this issue ยท 3 comments

ryandc commented

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? ๐Ÿ“š

daun commented

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

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

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