You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your issue:
Hi there! Just wanted to take the CLI for a spin, but I can't install it. When I run npm install @swup/cli, either globally or locally, I always get this error:
My node version is v14.18.1 and the current package.json of node-gyp looks like it should be compatible. Maybe there is an outdated package in the swup cli dependencies that causes the issue? There are quite a few deprecated warnings before the error occurs:
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: Version no longer supported. Upgrade to @latest
Before creating this issue, did you think of...:
Have you checked closed issues for similar/related problems.
Have you provided all helpful information available?
Can confirm the install is failing. This seems to be an issue with the xml parser in use, node-xml2json. Switching to another parser like xml-js might help.
@hirasso For some reason, it now works fine on my laptop while it recently failed on my desktop machine. Both running MacOS, but on different versions. What OS are you on?
Thanks for trying it again! You motivated me to dig a little deeper. I'm also on a MAC, with MAMP installed. I noticed that libtool was having trouble. Following the advice found here, I copied over the libtool binary from /usr/bin over to /Applications/MAMP/Library/bin, overwriting the version in there.
Describe your issue:
Hi there! Just wanted to take the CLI for a spin, but I can't install it. When I run
npm install @swup/cli
, either globally or locally, I always get this error:My node version is
v14.18.1
and the currentpackage.json
of node-gyp looks like it should be compatible. Maybe there is an outdated package in the swup cli dependencies that causes the issue? There are quite a fewdeprecated
warnings before the error occurs:Before creating this issue, did you think of...:
I saw that there are quite a few version bump pull requests waiting to be merged, maybe this already would solve this issue?
The text was updated successfully, but these errors were encountered: