Error : packages.json contains reference to lib folder
I tried installing the package, but seems like there is an error which I captured in the screenshot : http://screencast.com/t/nOZU7iTi9K0f
NOTE : I have manually pasted the downloaded package from GIT. Also, one observation that package.json has a line : "main": "./lib/ServiceAdmin", but there is NO LIB folder in the download. Is this an issue, and Can you help me resolve this issue ?
Did you try to run npm i /path/to/downloaded/node-xmpp-serviceadmin/ ?
but there is NO LIB folder in the download.
correct!
Is this an issue,
no, its a feature :) running npm i or npm publish executes npm run prepublish that compiles the coffee sources to lib/ServiceAdmin.js
and Can you help me resolve this issue ?
You could compile the source (npm run prepublish) before using ist ;-)
Thanks for your reply...I am executing this PACKAGE on Windows 8...And I see the following error captured in the screenshot : http://screencast.com/t/zLoYveJgD9s
Can you provide me a pre-compiled LIB folder or any help around resolving this issue ?
Can you provide me a pre-compiled LIB folder
you can use the npmjs repository by just typing npm i node-xmpp-serviceadmin
Or install the deps and compile the source:
cd /path/to/downloaded/node-xmpp-serviceadmin/
npm i
npm run prepublish
then you should be able to install it
cd /path/to/your/project/
npm i /path/to/downloaded/node-xmpp-serviceadmin/
Thanks ! I have some progrees there !