Skip to content
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

Can't install under latest node.js version #44

Open
parikmaher534 opened this issue Jan 19, 2018 · 5 comments
Open

Can't install under latest node.js version #44

parikmaher534 opened this issue Jan 19, 2018 · 5 comments

Comments

@parikmaher534
Copy link

node -v;
v9.1.0

Installing of Pngcrush..
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 261 100 261 0 0 540 0 --:--:-- --:--:-- --:--:-- 541
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] env-setup: ./env/env-setup
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] env-setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

@j0tunn
Copy link

j0tunn commented Jan 29, 2018

@eGavr

@sipayRT
Copy link

sipayRT commented Jan 30, 2018

@eGavr ping!

@eGavr
Copy link
Collaborator

eGavr commented Jan 30, 2018

@parikmaher534

Sorry, I have not tested image-optim on [email protected] yet.

I'll do it a little bit later

@rakshith-ravi
Copy link

Eagerly waiting for a fix.

@eGavr I wouldn't mind fixing it if you could point me out in the right direction. Where do I look for the broken code?

@Dexig
Copy link
Contributor

Dexig commented Feb 25, 2018

The problem is that script can't download compress-source from sourceforge.

curl -L https://sourceforge.net/projects/pmt/files/pngcrush/old-versions/1.7/1.7.85/pngcrush-1.7.85.tar.gz/download

<html><head>
<title>SourceForge</title>
<!-- <script src="/js/jquery.com/jquery-1.11.0.min.js"></script> -->
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://sourceforge.net/js/mirrors.js"></script>
<script src="/js/sf.js"></script>
<script>
var DR_loc = DR_parse_hash_url();
if (DR_loc) {
    DR_sf_main(DR_loc);
} else {
    window.location.href = 'https://sourceforge.net/home.html';
}
</script>
</head><body>
<noscript>
We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires
the use of javascript to function.  Please check back later.
</noscript>
</body></html>

@eGavr, mb should put the compress-source in the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants