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

README.md #111

Merged
merged 1 commit into from
Feb 26, 2015
Merged

README.md #111

merged 1 commit into from
Feb 26, 2015

Conversation

malnick
Copy link

@malnick malnick commented Feb 24, 2015

Include that you need the dev package as a dependency when installing npm. Apt will fail to install npm if the dev package for nodejs is not included.

@igalic
Copy link
Contributor

igalic commented Feb 24, 2015

@malnick shouldn't we switch that on by default if npm is requested?

imo, we should fix that in code, rather than in the docs ;)

@juniorsysadmin
Copy link
Member

Okay, so at least on 14.04 the native nodejs-dev package is a dependency of the native npm package. I'll see if this is the case with 12.04 as well.

@juniorsysadmin
Copy link
Member

So to summarize to the best of my ability:
Ubuntu 12.04 and 14.04 native npm requires native nodejs-dev
RedHat families with a native npm package require native nodejs-devel
RedHat with EPEL npm requries EPEL nodejs-devel

npm is included with the nodejs package on Nodesource. (There is no nodejs-dev package in the Nodesource repo for Debian families)
With RedHat families, the Nodesource nodejs-devel package does not get pulled in when installing the Nodesource nodejs package - as expected.

I think changing the README docs is sufficient, but after the above points probably needs a little more.

@juniorsysadmin
Copy link
Member

@malnick Sent a PR to your fork. If you're happy with it I would suggest squashing up the commits and doing a slightly more descriptive commit message.

@igalic
Copy link
Contributor

igalic commented Feb 25, 2015

imo, the people who package npm, pip, and other stuff for debian need some real world exposure to people using their packages. sorry, trying to use their packages.

i've never once had a case where i'd install pip (or npm) without having to install the -dev package, because one is useless without the other…

@hunner hunner merged commit 22666cb into voxpupuli:master Feb 26, 2015
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

Successfully merging this pull request may close these issues.

4 participants