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
Node sources for version 5.0.0-0 do not exist. #11
Comments
The workaround turned out to fail: node-gyp just deletes the folder and attempts to download anyway. |
I've tried this also:
Got some compile errors:
Tried copying over files from |
Also tried copying |
@hgwood Apologize for late response. Were you running "npm" and "node-gyp" that come with "Node.js Tools for Windows IoT 1.3"? You can try launch "Node.js (chakra) command prompt" and run "npm i uwp --verbose". The install comes with a customized "node-gyp" that should not download. |
It can be seen clearly that it is using the normal node-gyp install and not a custom one. Moreover, I cannot find any node-gyp in Thanks for your help. |
It seems globally installed node-gyp by the user has higher priority... The customized node-gyp can be found at "c:\Program Files (x86)\NodejsUwp\Console\node_modules\npm\bin\node-gyp-bin". Try add that to front of PATH, or uninstall global node-gyp (npm uninstall -g node-gyp). |
I spent some more time trying this and found that as long as you have your own npm installed globally, your own npm will always be picked and it will not use our node-gyp. I'm making some tweaks to "Node.js (chakra) command prompt" to work around this problem. In the interim, please try to uninstall the global npm/node-gyp (in your AppData: |
I'm sorry I don't understand what |
Oh, I guess you meant |
Reinstalled. Still no |
@hgwood That's strange. What do you have under
For the npm/node-gyp issue, we'll have a better solution in next release. For now the easiest workaround is to uninstall the global npm/node-gyp:
Then launch |
Here's the content of
No npm. I'd be willing to uninstall my global npm, but I'd be left without any npm at all to run Any idea on why I'm missing parts of Thanks for your continued help. |
@hgwood Haven't seen that before... When you install Node.js Tools for Windows IoT 1.3 and it pops up installing Node.js (chakra), make sure you have all features selected? Maybe you accidentally unselected npm? |
Ahah, yes that was it. I probably unchecked it willingly, thinking I didn't need another npm, and then forgot about it. Sorry about that. Thanks a lot for your help. Now the compilation goes through and I get some compile errors, but that's another issue ;). |
I notice it has been fixed in Node.js Tools for Windows IoT 1.5. Nice work! |
Thanks for confirming! |
@grownseed Check that |
Thanks @hgwood but still no luck... I've removed anything Node-related on my system, installed Node.js with Chakra, re-installed Visual Studio Community 2015 with Visual C++, Visual Studio Extensibility Tools Update 1, Windows 10 SDK, Universal Windows App Development Tools, rebooted, added
Attempting to
Of particular note is |
The
node.exe
that comes with the Node.js Tools for Windows IoT 1.3 advertises5.0.0-0
as a version (node --version
). When Inpm install uwp
,node-gyp
tries to download the sources for this version of node fromhttps://nodejs.org/dist/v5.0.0-0/node-v5.0.0-0.tar.gz
and logically fails, because this version it not an official version of Node.I'm not sure how I should proceed. I guess I could, as a workaround, copy the sources from Node v5 to
~/.node-gyp/5.0.0-0
. I'll try that and let you know.The text was updated successfully, but these errors were encountered: