Skip to content
This repository was archived by the owner on Dec 9, 2018. It is now read-only.
This repository was archived by the owner on Dec 9, 2018. It is now read-only.

Install fails on Win 7 x64 with VS2010 & VS2013 (or just VS2013) #110

@nickbuller

Description

@nickbuller

Hi,

When VS2013 is installed you get the following error:
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:\Source\POC\ExpressApp1\node_modules\contextify\build\contextify.vcxproj]

I've identified a way to fix (well works for me) this looks to be that GYP is not generating correct project options for VS2013. To resolve you just: -

  1. npm set rollback false
  2. npm install contextify (which will fail)
  3. open up node_modules\contextify\build\binding.sln with VS2013 (this will upgrade the project from VS2010 -> VS2013)
  4. cd node_modules\contextify
  5. node-gyp build
  6. npm install contextify

Then you can npm install your modules that are defendant on contextify.

Hope this helps.

Nick

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