GithubHelp home page GithubHelp logo

installation problem about node-xml2json HOT 10 CLOSED

buglabs avatar buglabs commented on August 17, 2024
installation problem

from node-xml2json.

Comments (10)

c4milo avatar c4milo commented on August 17, 2024

hm, that's weird, node path message is just a warning. It seems to be an issue with npm or the installation process. Try this:

/pro/test$ npm install node-expat

and please verify that you have node-expat in /pro/test/node_modules

from node-xml2json.

c4milo avatar c4milo commented on August 17, 2024

also make sure you have libexpat installed in your machine

from node-xml2json.

jankeromnes avatar jankeromnes commented on August 17, 2024

I have libexpat1 installed on my ubuntu 11.04 and I also tried installing node-expat, with the same warning / error :

jan@jan:~/pro/test$ npm install node-expat
> [email protected] install /home/jan/pro/test/node_modules/node-expat
> node-waf configure build
Checking for program g++ or c++          : /usr/bin/g++ 
Checking for program cpp                 : /usr/bin/cpp 
Checking for program ar                  : /usr/bin/ar 
Checking for program ranlib              : /usr/bin/ranlib 
Checking for g++                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr/local 
Checking for header expat.h              : yes 
'configure' finished successfully (0.205s)
Waf: Entering directory `/home/jan/pro/test/node_modules/node-expat/build'
[1/2] cxx: node-expat.cc -> build/Release/node-expat_1.o
[2/2] cxx_link: build/Release/node-expat_1.o -> build/Release/node-expat.node
Waf: Leaving directory `/home/jan/pro/test/node_modules/node-expat/build'
'build' finished successfully (0.370s)
[email protected] ./node_modules/node-expat 
jan@jan:~/pro/test$ ls node_modules/
node-expat  xml2json

from node-xml2json.

jankeromnes avatar jankeromnes commented on August 17, 2024

Same Cannot find module '../build/default/node-expat' error. From where exactly is that search issued?

Besides, the node-expat/build folder does not contain a default folder :

jan@jan:~/pro/test$ ls node_modules/node-expat/build/
c4che  config.log  Release
jan@jan:~/pro/test$ ls node_modules/xml2json/node_modules/node-expat/build/
c4che/         .conf_check_0/ config.log     Release/       .wafpickle-7

from node-xml2json.

c4milo avatar c4milo commented on August 17, 2024

nodejs version? npm version? please

from node-xml2json.

jankeromnes avatar jankeromnes commented on August 17, 2024

They were in my first post :) node v0.5.6-pre and npm 1.0.27.

from node-xml2json.

c4milo avatar c4milo commented on August 17, 2024

uh, sorry hehe i've been kind of doing 50 tasks at the same time. Hm, is there any reason why your'e not using a stable version of nodejs?

from node-xml2json.

c4milo avatar c4milo commented on August 17, 2024

I'm using nodejs 0.4.11 and xml2json installs okay.

from node-xml2json.

jankeromnes avatar jankeromnes commented on August 17, 2024

In this case my bad, I like things cutting edge. I'll try with a stable version soon and let you know how it works out.

from node-xml2json.

c4milo avatar c4milo commented on August 17, 2024

I'll assume this worked out. Closing

from node-xml2json.

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.