Skip to content

npm install fails on Windows 7 and Windows 8.0 #1

Open
@ajflash

Description

@ajflash

I've tried to install on both platforms with a working Visual Studio 2013 but the install fails. I don't understand the exact causes but I think it is a node-gyp related issue. This is the install script that fails:

node-pre-gyp install --fallback-to-build

This is an extract of the console output, if it helps:

...
  unpack_libicu_dep
  Extracting C:\Proyectos\Clientes\gpsnode\node_modules\php-embed\deps\icu4c-55_1-src.tgz to C:\Proyectos\Clientes\gpsnode\node_modules\php-embed\build\Release\obj\global_intermediate
  Traceback (most recent call last):
    File "..\..\deps\extract.py", line 15, in <module>
      os.utime(os.path.join(dirname, sys.argv[3]), None) # touch
  WindowsError: [Error 3] El sistema no puede encontrar la ruta especificada: 'C:\\Proyectos\\Clientes\\gpsnode\\node_modules\\php-embed\\build\\Release\\obj\\global_intermediate\\..\\..\\deps\\icu\\source\\configure'
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" salió con el código 1. C:\Proyectos\Clientes\gpsnode\node_modules\php-embed\build\deps\libicu_action_before_build.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
...

Any help would be apreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions