-
Notifications
You must be signed in to change notification settings - Fork 1.2k
node-zopfli@1.4.0 install: node-pre-gyp install --fallback-to-build
#2545
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
Comments
any solution for this? |
The following steps worked for me after trying many solutions:
You should be able to continue on from here and run My Specs:
|
I have the same error. I'm waiting for some solution because i've looked for in google, but really i didn't find something yet. |
@tashrafy still the same issue |
@vipinlahoti - What are your new specs, after running the steps I outlined? |
@jsvasquez - Can we see your specs please? |
@vipinlahoti an error stack trace would be helpful. Also your |
Specs npm config get ; globalconfig C:\Users\SebastianV\AppData\Roaming\npm\etc\npmrc ; builtin config undefined ; node bin location = C:\Program Files\nodejs\node.exe |
I downgraded the python from 3.6.1 to 2.7.13 and it works now 👍 |
@vipinlahoti how did you do it? |
@jsvasquez uninstalled and removed python 3.6.1 files completely, and installed 2.7.13 version, My specs:
|
I think that my problem is in Python... because the comando "py" or "python" doesn't work. Maybe there is some bug in instalation but i don't know how find it. |
@vipinlahoti @jsvasquez My specs:
|
For anyone using Windows, I'd recommend installing Windows Build Tools. This should install python as well as a number of other tools required to build native node modules. |
@jgrune That's where I had my problematic python 2.7.11 version from |
windows : 8.1 I've upgraded my python version from 2.7.11 to 2.7.13 and also installed "npm install -g node-zopfli" |
@mustafakhalidcs - Try updating your npm version to the latest (4.5.0), remove your node_modules in your project directory, and run npm install |
@tashrafy I've upgraded my npm to 4.5 version. but still getting this error?` |
You can use both python 2.7 and 3.5.
|
Tried all the above, still not working. |
If anything - the |
Ok I managed to get it to work, I just created the environment variable PYTHON with the path to my Python 2.7.13 executable on Windows 10 and that fixed it. |
+1 for changing/installing python 2.7.13 on Windows 10 |
When deploying to # heroku I have issue downloading node-zopfli
Than a fallback starts to build de project from source. This falback also fail because 'typings' is not available in heroku environment. I fix it by adding
to my package.json |
Tried all of these and nothing works. So here is what I DID, and got it working Best thing is to simply remove shrink ray from the package.json Then get rid of its references in server/config/express.js ITs a pesky little package that JUST WONT INSTALL and its not just a windows 10 issue either. Its got dependecies on node-zopfli that also has issues. So all in all, its a peice of rubbish library that you ought to replace with something else. I hope this helps others out. angular-fullstack is awesome, but this little rubbish library needs to be removed. I hope the authors do so., |
Please help. One day my development works and the next day it fails due to dependencies I am not familiar with. The primary error message is stating that the expected binaries are not in the zip file on amazon. Are the files missing? Is the file name / url an unsupported version or is the zip file bad? I can manually download the same zip file It seems like the archived tar.gz is missing the necessary files.
Our firm has an internal nexus library and in that library we have the node-zopfli-2.0.2.tgz.
|
have any solution for this problem ? |
I faced same issue on Mac. I googled it but found nothing. The problem is, it fails to download node-zopfli@2.0.2 binary at time of npm install. So I downloaded the node-zopfli from github repo having version 2.0.2 as it is the latest version.
and things worked for me. If you get error Then try update node-pre-gyp to it's latest version. |
The text was updated successfully, but these errors were encountered: