Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ? #37

Closed
DrMabuse23 opened this issue Sep 19, 2013 · 7 comments
Closed

npm ? #37

DrMabuse23 opened this issue Sep 19, 2013 · 7 comments
Assignees
Milestone

Comments

@DrMabuse23
Copy link

I install it and then i got an error. have a look on the bottom

sudo npm install html-md -g

npm http GET https://registry.npmjs.org/html-md
npm http 304 https://registry.npmjs.org/html-md
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/fs-extra
npm http GET https://registry.npmjs.org/jsdom
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/fs-extra
npm http 304 https://registry.npmjs.org/jsdom
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/jsonfile
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/nwmatcher
npm http GET https://registry.npmjs.org/xmlhttprequest
npm http GET https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssstyle
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/ncp
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/jsonfile
npm http 304 https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/graceful-fs
npm http 304 https://registry.npmjs.org/nwmatcher
npm http 304 https://registry.npmjs.org/xmlhttprequest
npm http 304 https://registry.npmjs.org/cssom
npm http 304 https://registry.npmjs.org/cssstyle
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/contextify
npm http 304 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/bindings

contextify@0.1.6 install /usr/local/share/npm/lib/node_modules/html-md/node_modules/jsdom/node_modules/contextify
node-gyp rebuild

npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/domhandler
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/asn1/0.1.11
npm http GET https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/domelementtype
npm http 304 https://registry.npmjs.org/ctype/0.5.2
CXX(target) Release/obj.target/contextify/src/contextify.o
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/asn1/0.1.11
npm http 304 https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
SOLINK_MODULE(target) Release/contextify.node
npm http 304 https://registry.npmjs.org/hoek
SOLINK_MODULE(target) Release/contextify.node: Finished
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
/usr/local/share/npm/bin/html-md -> /usr/local/share/npm/lib/node_modules/html-md/bin/html-md
html-md@3.0.1 /usr/local/share/npm/lib/node_modules/html-md
├── commander@2.0.0
├── fs-extra@0.6.4 (jsonfile@1.0.1, ncp@0.4.2, mkdirp@0.3.5, rimraf@2.2.2)
└── jsdom@0.8.4 (xmlhttprequest@1.6.0, cssom@0.2.5, nwmatcher@1.3.1, cssstyle@0.2.3, htmlparser2@3.3.0, contextify@0.1.6, request@2.27.0)

pascals-MacBook-Pro-3:editor pascal$ html-md --version
env: node\r: No such file or directory

pascals-MacBook-Pro-3:editor pascal$ html-md
env: node\r: No such file or directory

pascals-MacBook-Pro-3:editor pascal$ grunt --version
grunt-cli v0.1.9
pascals-MacBook-Pro-3:editor pascal$ node -v
v0.10.18

@neocotic
Copy link
Owner

Just did a clean install from a fresh VM and I'm having the same problem, same on my Mac now too.

I'll start looking into this. Strangely it seems to be installed fine, but the alias isn't being setup.

@ghost ghost assigned neocotic Sep 23, 2013
@neocotic
Copy link
Owner

neocotic commented Oct 8, 2013

I'm hoping someone has some time or enough experience with npm to investigate this as I can't understand why it's not working. I'm wondering if it's something to do with the new hyphenated command (i.e. html-md). I managed to get the alias installed when I tried again today but calling it returns the following:

$ which html-md
/usr/local/bin/html-md
$ html-md --version
: No such file or directory

If no one else is able to pick this up I'll probably just experiment with removing the hyphen from the command as I have no clue.

@DrMabuse23
Copy link
Author

Yes hope dies last

@neocotic
Copy link
Owner

neocotic commented Oct 9, 2013

@brewing I've committed a potential fix which appears to work on the VM I set up previously but was wondering if you could confirm. I've renamed the command to htmlmd but I'll change this back if this doesn't resolve the issue. Unfortunately, I can't seem to get the man page to work with anything I do, but I'm keeping it in there in case I'm able to fix it in the future:

$ which htmlmd
/usr/local/bin/htmlmd
$ htmlmd --version
3.0.2

@neocotic
Copy link
Owner

neocotic commented Jan 3, 2014

@brewing Can you confirm whether my change fixed your problem?

@DrMabuse23
Copy link
Author

is fixed thx for work
pascals-mbp:etc pascalbrewing$ htmlmd --version
3.0.2

@neocotic
Copy link
Owner

neocotic commented Jan 3, 2014

No problem 😄

@neocotic neocotic closed this as completed Jan 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants