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

using latest npm not working #1

Closed
ghost opened this issue Mar 20, 2015 · 5 comments
Closed

using latest npm not working #1

ghost opened this issue Mar 20, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 20, 2015

error Windows_NT 6.1.7601
198 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "utf-8-validate"
199 error node v0.12.0
200 error npm v2.7.3
201 error code ELIFECYCLE
202 error utf-8-validate@1.0.1 install: node-gyp rebuild
202 error Exit status 1
203 error Failed at the utf-8-validate@1.0.1 install script 'node-gyp rebuild'.
203 error This is most likely a problem with the utf-8-validate package,
203 error not with npm itself.
203 error Tell the author that this fails on your system:
203 error node-gyp rebuild
203 error You can get their info via:
203 error npm owner ls utf-8-validate
203 error There is likely additional logging output above.
204 verbose exit [ 1, true ]

@felicienfrancois
Copy link

I got the same issue (iojs 1.6.2, npm 2.7.1, python 2.7.9)

> utf-8-validate@1.0.1 install ...\node_modules\ws\node_modules\utf-8-validate
> node-gyp rebuild

...\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "c:\Program Files\iojs\node_modu
les\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (rebuild)
child_process: customFds option is deprecated, use stdio instead.
Génération des projets individuellement dans cette solution. Pour activer la génération en parallèle, ajoutez le commutateur "/m".
MSBUILD : error MSB3428: Impossible de charger le composant Visual C++ "VCBuild.exe". Pour corriger le problème, vous devez 1) installer le Kit de dé
veloppement .NET Framework 2.0 SDK, 2) installer Microsoft Visual Studio 2005 ou 3) ajouter l'emplacement du composant au chemin d'accès système, s'i
l est installé ailleurs.  [...\node_modules\ws\node_modules\utf-8-validate\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\iojs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1044:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "c:\\Program Files\\iojs\\node.exe" "c:\\Program Files\\iojs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd ...\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v1.6.2
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

Same than websockets/bufferutil#2

@ghost ghost closed this as completed Apr 8, 2015
@ghost
Copy link
Author

ghost commented Aug 8, 2015

I closed it because I was able to resolve it. I installed the latest
nodejs.org and Make you install the latest python 2.7 and add a PYTHON
environment variable that points to c:\python27

On Sat, Aug 8, 2015 at 8:57 AM Nitin Surana notifications@github.com
wrote:

Why is the issue closed, any solution ? I'm getting the same and I'm
trying to install browser-sync.


Reply to this email directly or view it on GitHub
#1 (comment)
.

@felicienfrancois
Copy link

Visual Studio is also required (VS express 2013 should work)

See https://github.com/TooTallNate/node-gyp#installation

@felicienfrancois
Copy link

But I never got it working on iojs (even latest version 3.0)

@ghost
Copy link
Author

ghost commented Aug 9, 2015

I would file a new issue then.

This issue was closed.
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

No branches or pull requests

1 participant