GithubHelp home page GithubHelp logo

Comments (7)

nrstott avatar nrstott commented on June 19, 2024

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.

jahewson avatar jahewson commented on June 19, 2024

Can you download the source and run ./build.sh and let me know the output

from node-deflate.

aaronshaf avatar aaronshaf commented on June 19, 2024

Output:

https://gist.github.com/1254064

from node-deflate.

jahewson avatar jahewson commented on June 19, 2024

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.

aaronshaf avatar aaronshaf commented on June 19, 2024

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.

jahewson avatar jahewson commented on June 19, 2024

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.

jahewson avatar jahewson commented on June 19, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.