Git Product home page Git Product logo

Comments (5)

calmh avatar calmh commented on September 4, 2024

Hmm. I haven't tested it on Windows, but I see no reason why it
wouldn't work. It doesn't contain any code that needs to be built,
only JavaScript.

//jb

(Sent from my phone - please excuse brevity and typos.)

On 9 maj 2012, at 16:54, Olivier Louvignes
[email protected]
wrote:

Does this package is intended to run on Windows?
Looks like node team has decided to switch from waf to gyp for building native modules (cf. http://botsikas.blogspot.fr/2011/12/nodejs-modules-cross-platform.html).

Any chance you would update this very promising plugin so that it can be built on windows?

Regards!


Reply to this email directly or view it on GitHub:
#3

from node-snmp-native.

mgcrea avatar mgcrea commented on September 4, 2024

Yes, but it does require the package "dtrace-provider" that requires compilation via "node-waf".

from node-snmp-native.

calmh avatar calmh commented on September 4, 2024

Dtrace-provider will likely not build on Windows, but it's just a
dependency of one of the devdependencies (snmpjs). These should not be
pulled in at all when snmp-native is used as a dependency itself. If
it's anyway problematic, feel free to edit package.json to remove
snmpjs - it's only used for the integration tests.

On 10 maj 2012, at 19:32, Olivier Louvignes
[email protected]
wrote:

Yes, but it does require the package "dtrace-provider" that requires compilation via "node-waf".


Reply to this email directly or view it on GitHub:
#3 (comment)

from node-snmp-native.

calmh avatar calmh commented on September 4, 2024

To clarify;

Using snmp-native as a dependency on Windows should work just fine. If it doesn't open an issue on whatever happens.

Manually installing snmp-native on Windows might fail because npm will try to install the devDependencies, which require dtrace-provider. To get around that, edit node_modules/snmp-native/package.json to remove the snmpjs devDependency, rerun npm install in node_modules/snmp-native.

from node-snmp-native.

calmh avatar calmh commented on September 4, 2024

I pushed a version 1.0.5 that doesn't include the dev dependencies in the shrinkwrap; possibly that is what you were hitting. Also, if installing locally, a "npm install --no-dev" will avoid pulling in the dev dependencies, avoiding the dtrace issue.

from node-snmp-native.

Related Issues (20)

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.