Comments (10)
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.
also make sure you have libexpat installed in your machine
from node-xml2json.
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.
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.
nodejs version? npm version? please
from node-xml2json.
They were in my first post :) node v0.5.6-pre
and npm 1.0.27
.
from node-xml2json.
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.
I'm using nodejs 0.4.11 and xml2json installs okay.
from node-xml2json.
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.
I'll assume this worked out. Closing
from node-xml2json.
Related Issues (20)
- Not able to install npm i xml2json HOT 3
- Xml2json library throw error window object in node
- r
- Using a Webassembly port of expat instead of compiling the expat binary
- import instead of require? HOT 2
- Feature proposal: support for tag name processors
- Feature proposal: exclude tags
- ToJson options lost comma
- toJson exception - "not well formed"
- not building with nodejs 12 HOT 43
- upgrade angular version HOT 1
- TypeError when i use it in a vue project HOT 3
- CDN
- toXml converts all the child nodes to attributes HOT 1
- documentation for arrayNotation individual fields HOT 1
- npm ERR! [email protected] install: `node-gyp rebuild` HOT 5
- invalid ELF header HOT 1
- Deprecated Dependencies Joi and Hoek
- What is the meaning of $t in reversible parsing? HOT 2
- Options reversible and alternateTextNode are not compatible
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-xml2json.