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

Building node v4.0.0 on windows does not have npm #3663

Closed
Junkern opened this issue Nov 4, 2015 · 3 comments
Closed

Building node v4.0.0 on windows does not have npm #3663

Junkern opened this issue Nov 4, 2015 · 3 comments
Labels
question Issues that look for answers. windows Issues and PRs related to the Windows platform.

Comments

@Junkern
Copy link

Junkern commented Nov 4, 2015

I am building node v4.0.0 in windows with vcbuild nosign. Node itself is working perfectly, I noticed I am missing all the npm stuff (npm install -g xxxx is not working). Is this working as intended? If so, how can I get npm up and running? Before anyone asks, due to different circumstances I am fixed on v4.0.0 (f9f8378)

@jasnell
Copy link
Member

jasnell commented Nov 4, 2015

Just running vcbuild nosign only builds the necessary artifacts, it does not install them into your local environment. There's an option to generate an installer with vcbuild. Running that installer ought to include the npm utility.

Also, fwiw, the better place to ask questions like this is on the https://github.com/nodejs/help repo (I know that's not obvious, unfortunately).

@jasnell jasnell closed this as completed Nov 4, 2015
@ChALkeR ChALkeR added question Issues that look for answers. windows Issues and PRs related to the Windows platform. labels Nov 4, 2015
@joaocgreis
Copy link
Member

@Junkern for a quick work around to use npm directly with the compiled node, you can copy deps\npm to Release\node_modules (creating Release\node_modules\npm) and everything from inside deps\npm\bin directly to Release (so that Release\npm.cmd exists).

@Junkern
Copy link
Author

Junkern commented Nov 6, 2015

I eventually figured that out, aswell. Thank you for coming back, tough!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issues that look for answers. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

4 participants