-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Can't install dependencies with npm >= 3.9 #7874
Comments
The error occurs in |
Yes, I figured out the cause of this though, I tried this on another machine where But feel free to verify that this is not only an issue on my end. I haven't figured out what npm change causes this, but it might be good to have a heads up in the "Development workflow" section, until this is sorted out. |
as csvn says, fresh clone & build fails because of this. |
Oh. It had always returned error code 0 with those errors...
|
Meanwhile: use |
I have a Windows 10 machine with VS 2015. If I use |
@ramya-rao-a did you get any insights from @Tyriar? Can you still send me the (non verbose) |
@joaomoreno Below is the part of the TLDR; Longer version:
|
@joaomoreno installed VS 2015 with Windows 10 SDK and C++ tools, installed Python 2.7, added it to PATH and had a PYTHON environment variable set too. Nothing was obvious to me, I've only successfully set up vscode dev on Windows once though. |
@ramya-rao-a did you end up getting around this issue? I'm running into it on my Windows 10 laptop and |
@Tyriar Did you remove |
@ramya-rao-a nope. If that is the fix, any idea why this happens on some Windows 10 machines and not others? |
@Tyriar What are your errors around? The |
@ramya-rao-a |
I've been having this issue but fixed it by using npm 2
|
@JustinPealing you may run into other issues with npm 2. They may only be during the packaging steps though so development might be fine. |
Instructions to fix this were added to https://github.com/Microsoft/vscode/wiki/How-to-Contribute#installing-prerequisites by @bpasero, closing this off. The fix to all these related issues seems to be to update node and use the nearly released npm 3.10.8 which has the fix for optional dependencies. |
I was thinking of making a pull request, and tried checking out and building the vscode source, but I get the error
MSVSProject' object has no attribute 'iteritems'
when I try to runscripts\npm install
.I followed the instructions How to run from Source, and tried out the instructions Compiling native addon modules when that didn't work. I can get e.g. bson and node-sass to install and compile native code via node-gyp without issues.
I can't seem to figure out what's causing this issue. Any help is greatly appreciated.
System info:
Windows 10
npm@3.9.6
node@6.2.2
git 2.9.0.windows.1
The text was updated successfully, but these errors were encountered: