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

Update the prerequisite for windows user #156

Closed
wants to merge 1 commit into from
Closed

Update the prerequisite for windows user #156

wants to merge 1 commit into from

Conversation

mtuchi
Copy link

@mtuchi mtuchi commented Sep 21, 2014

In-order for npm to work perfectly without failing to fetch some package windows user must be sure to have those prerequisite i just posted.

In-order for npm to work perfectly without failing to fetch some package windows user must be sure to have 
those prerequisite i just posted
@dgorissen
Copy link
Member

Thanks. Can you just explain at what step exactly you need these requirements? Is this to compile some of the npm packages or so?

@kynan
Copy link
Member

kynan commented Sep 21, 2014

I suppose you need some form of compiler toolchain. But does this really require Visual Studio? I hope not!

@mtuchi
Copy link
Author

mtuchi commented Sep 22, 2014

for npm installation if your using windows you will need that because during installation npm needs MSbuild.exe and Visual C++

@dgorissen
Copy link
Member

What is the status on this?

@mtuchi
Copy link
Author

mtuchi commented Oct 10, 2014

Still no lucky

am still getting this error below

MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
s installed elsewhere.  [C:\Users\USER\Documents\GitHub\TaarifaWaterpoints\node_modules\topojson\node_modules\d3\node_m
odules\jsdom\node_modules\contextify\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:
67:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebui
d"
gyp ERR! cwd C:\Users\USER\Documents\GitHub\TaarifaWaterpoints\node_modules\topojson\node_modules\d3\node_modules\jsdom
node_modules\contextify
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR! contextify@0.1.9 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.9 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js
 "install"
npm ERR! cwd C:\Users\USER\Documents\GitHub\TaarifaWaterpoints
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
PS C:\Users\USER\Documents\GitHub\TaarifaWaterpoints>

@kynan
Copy link
Member

kynan commented Oct 10, 2014

No idea, might be worth checking out the node-gyp README.

@dgorissen
Copy link
Member

Maybe MinGW works better? See also http://stackoverflow.com/questions/18474232/topojson-build-fails-in-windows

@mtuchi
Copy link
Author

mtuchi commented Nov 5, 2014

Does anyone know how to add a path in windows
i mean i have arleady installed the required prerequisite
and i am getting the same error
i need to add the location of the component where i have installed it

@kynan
Copy link
Member

kynan commented Nov 6, 2014

Do you mean modifying the %PATH% environment variable (or however that is called in Windows, don't have access to a Windows machine right now to check)? I believe you can right-click on My Computer and select Properties. There should be an Environment tab somewhere.

@mtuchi
Copy link
Author

mtuchi commented Nov 24, 2014

This is the error i keep on getting when i am trying to install node package manage
npm install


MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framew
ork 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it i
s installed elsewhere.  [C:\Users\USER\Documents\GitHub\TaarifaWaterpoints\node_modules\topojson\node_modules\d3\node_m
odules\jsdom\node_modules\contextify\build\binding.sln]

.NET comes within the OS
MSBUILD.exe i have already installed it
Visual C++ already installed but i keep on getting the error

@kynan
Copy link
Member

kynan commented Nov 24, 2014

So you are saying you already tried suggestions 1) and 2)? What about 3), have you tried adding it to your %PATH% environment variable?

@mtuchi
Copy link
Author

mtuchi commented Nov 24, 2014

i tried that one as well
still no luck
i remember you last time you gave me the instruction on how to add the path
environment variable
@florian

@kynan
Copy link
Member

kynan commented Nov 24, 2014

Yes, what I told you was similar to these instructions.

@mtuchi
Copy link
Author

mtuchi commented Nov 24, 2014

i will try
Rapid environment editor
because i have already tried the first one and it did not work

@kynan
Copy link
Member

kynan commented Nov 25, 2014

Please report back if you got it working and then update the instructions accordingly @mtuchi.

@mtuchi
Copy link
Author

mtuchi commented Jan 5, 2015

i have fixed the issue of adding %PATH%
this time i have just a small error that i think its from the package it self i will post it shortly when i log in my window OS

@mtuchi
Copy link
Author

mtuchi commented Jan 6, 2015

i have minimize numbers of errors right now the only error am getting is this one


npm ERR! grunt-autoprefixer@0.4.2 postinstall: ``
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the grunt-autoprefixer@0.4.2 postinstall script.
npm ERR! This is most likely a problem with the grunt-autoprefixer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!
npm ERR! You can get their info via:
npm ERR!     npm owner ls grunt-autoprefixer
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\\Program Files\\nodejs\\\\node.exe" "c:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\Users\mangintosh\TaarifaWaterpoints
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! syscall spawn
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! not ok code 0

Am i close to fix the problem or i did not fix it at all?

@kynan
Copy link
Member

kynan commented Jan 8, 2015

Not sure tbh. Is there any more output that gives a better indication of what actually failed?

@kynan
Copy link
Member

kynan commented Sep 23, 2015

I don't think this is adding much.

@kynan kynan closed this Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants