Comments (7)
I just experienced that too. I may take deflate out as a dependency for now. There are obviously some problems with it.
from node-deflate.
Can you download the source and run ./build.sh
and let me know the output
from node-deflate.
Output:
https://gist.github.com/1254064
from node-deflate.
The error no such environment: default
is apparently a problem with node-waf
, try this workaround.
If that doesn't work can you let me know the output of node --version
and node-waf --version
from node-deflate.
I was able to get deflate to install without any errors using the latest ndoe.js (0.5.8). I also have node-waf 1.5.16. However, when running I get:
Error: Cannot find module './deflate-bindings'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/var/www/shaf/node_modules/bogart/node_modules/deflate/lib/deflate.js:1:77)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
from node-deflate.
Looks like the C++ bindings either didn't get built, or got built into the wrong folder somehow. As the install was successful it looks like they probably got built - can you find the file deflate-bindings
anywhere on your system?
Alternatively, can you find the file deflate-bindings.node
?
from node-deflate.
Conclusion: the problem seems to be node-waf
being different from the version of node
installed.
from node-deflate.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-deflate.