Closed hgwood closed 8 years ago
@hgwood , Thanks for reporting this. We need to upgrade our shim to support latest nan.h. We will get it fixed sooner.
Ah, so it's not just my environment issue...
We'll fix this in next release, meanwhile a temporary workaround is
npm i nan@2.1.0
npm i uwp
@jianchun Tried in a different order (install nan@2
post-factum), didn't work. Will try in this one...
@jianchun Why not commit a fixed package.json
with "nan": "2.1.0"
immediately? :)
@hgwood Good suggestion. Will do. Thanks!
@hgwood , The recent released version should include fix for nan2.2 API changes.
I still get compile errors using the new version, though they are different.
uwp.cc
C:\HX\uwptmp\node_modules\nan\nan.h(135): warning C4005: 'TYPE_CHECK': macro redefinition [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
C:\dev\NodeJS\nodejs-chakra-5.4-x64\sdk\deps\chakrashim\include\v8.h(75): note: see previous definition of 'TYPE_CHECK'
..\src\uwp.cc(75): error C2061: syntax error: identifier 'JsProjectionCallback' [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(77): error C3481: 'jsCallback': lambda capture variable not found [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(77): error C3481: 'jsContext': lambda capture variable not found [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(77): error C3493: 'jsCallback' cannot be implicitly captured because no default capture mode has been specified [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(77): error C3493: 'jsContext' cannot be implicitly captured because no default capture mode has been specified [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(74): error C3861: 'JsSetProjectionEnqueueCallback': identifier not found [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(104): error C3861: 'JsProjectWinRTNamespace': identifier not found [C:\HX\uwptmp\node_modules\uwp\build\uwp.vcxproj]
npm i --verbose uwp
tells me node
is 6.0.0-pre2
, npm
is 3.3.12
, node-gyp
is 3.0.3
and nan
is 2.2.0
, so seems the environnement is sane.
@hgwood the latest installer supports 2 app models for node.js and it installs the necessary binaries for the same.
UWP apps are a Windows 10 feature. For this app model you no longer need to do npm install uwp
This module comes prebuilt in the Visual studio template, which can be used to start a new UWP project.
Console apps, which is the traditional command line based Node.js workflow, is powered by ChakraCore.dll
which is available for OS'es outside of Windows 10 and UWP is not supported with this model.
@aruneshchandra Well that's the point. Many of us want to actually install uwp
on top of Chakra-based node to be able to run console scripts with access to UWP (especially useful for unit testing, including on CI). And that's what node-uwp
generally gives, even without predefined Visual Studio templates.
Here's the installer for Chakra-based node, which you can use to run console scripts and also use UWP.
Please be advised that this will only work with the latest Windows 10 builds.
Here's the installer for Chakra-based node
It should get installed under %PROGRAMFILES%\NodejsUwp\Console
.
@arjunbijanki Thanks for the info. Like @RReverser, I'm looking to write Node.js console scripts that can call UWP APIs (the Bluetooth 4 stack in particular). I'm aware of the Windows 10 November requirement. The installer you provided in your second answer makes npm i uwp
works nicely, but shouldn't the readme of this project be updated to mention this installer? This is what the readme says right now:
Prerequisites
- Windows 10 November update
- Visual Studio
- Node.js Tools for Windows IoT
Run under Node.js (Chakra) command prompt: npm install uwp
Doing this ends up with the compile errors I mention in my third message. Node.js Tools for Windows IoT
should probably be replaced by Node.js with Chakra
, shouldn't it?
@hgwood , once we have concrete plans on next version of bundle installer (whether to replace Node.js with chakracore
with Node.js with chakra
), we will update the README.md and the installer.
Thanks for bringing this to our attention!
Sounds good. Since the issues with nan have been resolved, I'll close this issue. Thanks again!
@hgwood How did you manage to build this? I'm still failing, but with different errors so not sure whether it's same issue or another one.
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim>npm i uwp --save-dev
npm http request GET https://registry.npmjs.org/uwp
npm http 304 https://registry.npmjs.org/uwp
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
> uwp@1.0.1 install C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp
> node-gyp rebuild
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp>if not defined npm_config_node_gyp (node "C:\Program Files\NodejsUwp\Console\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
uwp.cc
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\nan\nan.h(135): warning C4005: 'TYPE_CHECK': macro redefinition [C:\Users\Ingvar\Documents\Projects\We b\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
C:\Program Files\NodejsUwp\Console\sdk\deps\chakrashim\include\v8.h(83): note: see previous definition of 'TYPE_CHECK'
win_delay_load_hook.c
Creating library C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\Release\uwp.lib and object C:\Users\Ingvar\Documents\Projects\Web\uwp-
filesystem-shim\node_modules\uwp\build\Release\uwp.exp
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __cdecl v8::External::Value(void)const " (__imp_?Value@External@v8@@QEBAPEAXXZ) [C:\ Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::External * __cdecl v8::External::Cast(class v8::Value *)" (__imp_?Cast@Ext ernal@v8@@SAPEAV12@PEAVValue@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::External> __cdecl v8::External::New(class v8::Isolate *,vo id *)" (__imp_?New@External@v8@@SA?AV?$Local@VExternal@v8@@@2@PEAVIsolate@2@PEAX@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcx proj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Value> __cdecl v8::Isolate::ThrowException(class v8::Local<class
v8::Value>)" (__imp_?ThrowException@Isolate@v8@@QEAA?AV?$Local@VValue@v8@@@2@V32@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vc xproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Context> __cdecl v8::Isolate::GetCurrentContext(void)" (__imp_?Ge tCurrentContext@Isolate@v8@@QEAA?AV?$Local@VContext@v8@@@2@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Isolate * __cdecl v8::Isolate::GetCurrent(void)" (__imp_?GetCurrent@Isolat e@v8@@SAPEAV12@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class v8::HandleScope * __cdecl v8::HandleScope::GetCurrent(void)" (__imp_?GetCurre nt@HandleScope@v8@@CAPEAV12@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: bool __cdecl v8::HandleScope::AddLocal(void *)" (__imp_?AddLocal@HandleScope@v8@@AEAA_NPEA X@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::HandleScope::~HandleScope(void)" (__imp_??1HandleScope@v8@@QEAA@XZ) [C:\Users\I ngvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::HandleScope::HandleScope(class v8::Isolate *)" (__imp_??0HandleScope@v8@@QEAA@P EAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Value> __cdecl v8::Exception::Error(class v8::Local<class
v8::String>)" (__imp_?Error@Exception@v8@@SA?AV?$Local@VValue@v8@@@2@V?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\ build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Value> __cdecl v8::Exception::TypeError(class v8::Local<cl ass v8::String>)" (__imp_?TypeError@Exception@v8@@SA?AV?$Local@VValue@v8@@@2@V?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modu les\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::MaybeLocal<class v8::Function> __cdecl v8::FunctionTemplate::GetFunction(class v8 ::Local<class v8::Context>)" (__imp_?GetFunction@FunctionTemplate@v8@@QEAA?AV?$MaybeLocal@VFunction@v8@@@2@V?$Local@VContext@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\We b\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::FunctionTemplate> __cdecl v8::FunctionTemplate::New(class
v8::Isolate *,void (__cdecl*)(class v8::FunctionCallbackInfo<class v8::Value> const &),class v8::Local<class v8::Value>,class v8::Local<class v8::Signature>,int)" (__imp_?New @FunctionTemplate@v8@@SA?AV?$Local@VFunctionTemplate@v8@@@2@PEAVIsolate@2@P6AXAEBV?$FunctionCallbackInfo@VValue@v8@@@2@@ZV?$Local@VValue@v8@@@2@V?$Local@VSignature@v8@@@2@H@Z ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl v8::V8::ToLocalEmpty(void)" (__imp_?ToLocalEmpty@V8@v8@@SAXXZ) [C:\User s\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl v8::Value::IsString(void)const " (__imp_?IsString@Value@v8@@QEBA_NXZ) [C:\User s\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::String::Value::~Value(void)" (__imp_??1Value@String@v8@@QEAA@XZ) [C:\Users\Ingv ar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::String::Value::Value(class v8::Local<class v8::Value>)" (__imp_??0Value@String@ v8@@QEAA@V?$Local@VValue@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::MaybeLocal<class v8::String> __cdecl v8::String::NewFromUtf8(class v8::Iso late *,char const *,enum v8::NewStringType,int)" (__imp_?NewFromUtf8@String@v8@@SA?AV?$MaybeLocal@VString@v8@@@2@PEAVIsolate@2@PEBDW4NewStringType@2@H@Z) [C:\Users\Ingvar\Doc uments\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class v8::Local<class v8::Primitive> __cdecl v8::Undefined(class v8::Isolate *)" (__imp_?Undefined@ v8@@YA?AV?$Local@VPrimitive@v8@@@1@PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Object * __cdecl v8::Object::Cast(class v8::Value *)" (__imp_?Cast@Object@ v8@@SAPEAV12@PEAVValue@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::Object::SetInternalField(int,class v8::Local<class v8::Value>)" (__imp_?Se tInternalField@Object@v8@@QEAAXHV?$Local@VValue@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Value> __cdecl v8::Object::GetInternalField(int)" (__imp_?GetInte rnalField@Object@v8@@QEAA?AV?$Local@VValue@v8@@@2@H@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl v8::Object::Set(class v8::Local<class v8::Value>,class v8::Local<class v8::Val ue>)" (__imp_?Set@Object@v8@@QEAA_NV?$Local@VValue@v8@@@2@0@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::Function::SetName(class v8::Local<class v8::String>)" (__imp_?SetName@Func tion@v8@@QEAAXV?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::ObjectTemplate::SetInternalFieldCount(int)" (__imp_?SetInternalFieldCount@ ObjectTemplate@v8@@QEAAXH@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::MaybeLocal<class v8::Object> __cdecl v8::ObjectTemplate::NewInstance(class v8::Lo cal<class v8::Context>)" (__imp_?NewInstance@ObjectTemplate@v8@@QEAA?AV?$MaybeLocal@VObject@v8@@@2@V?$Local@VContext@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-fi lesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::ObjectTemplate> __cdecl v8::ObjectTemplate::New(class v8:: Isolate *)" (__imp_?New@ObjectTemplate@v8@@SA?AV?$Local@VObjectTemplate@v8@@@2@PEAVIsolate@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\ build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_close [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_CoUninitialize [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_node_module_register [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj] uwp.obj : error LNK2001: unresolved external symbol uv_async_send [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_async_init [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_CoInitializeEx [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_default_loop [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleSco pe@v8@@QEAA@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned short * __cdecl v8::String::Value::operator*(void)" (__imp_??DValue@String@v8@@QEA APEAGXZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::EscapableHandleScope::EscapableHandleScope(class v8::Isolate *)" (__imp_??0Esca pableHandleScope@v8@@QEAA@PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\Release\uwp.node : fatal error LNK1120: 38 unresolved externals [C:\Users\Ingvar\Documents\P rojects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at onExit (C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\node-gyp\lib\build.js:278:7)
gyp ERR! stack at emitTwo (events.js:100:5)
gyp ERR! stack at emit (events.js:185:7)
gyp ERR! stack at _handle.onexit (internal/child_process.js:200:7)
gyp ERR! System Windows_NT 10.0.14257
gyp ERR! command "C:\\Program Files\\NodejsUwp\\Console\\node.exe" "C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp
gyp ERR! node -v v5.6.0-0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN You are using a pre-release version of node and things may not work as expected
npm ERR! Windows_NT 10.0.14257
npm ERR! argv "C:\\Program Files\\NodejsUwp\\Console\\node.exe" "C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\bin\\npm-cli.js" "i" "uwp" "--save-dev"
npm ERR! node v5.6.0-0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
@RReverser I can't see any clue in your output... Could you please try "npm i uwp --verbose"? Relevant link lib info would be
Link:
...\link.exe ... /LIBPATH:"C:\Program Files\NodejsUwp\Console\sdk\x64"... node.lib...
@jianchun Well, node.lib
is there but not sure if this is the command you expected:
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\NodejsUwp\\Console\\node.exe',
npm verb cli 'C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'i',
npm verb cli 'uwp',
npm verb cli '--verbose' ]
npm info using npm@3.6.0
npm info using node@v5.6.0-0
npm verb request uri https://registry.npmjs.org/uwp
npm verb request no auth needed
npm info attempt registry request try #1 at 10:25:19 AM
npm verb request id e92aa8d661db2772
npm verb etag "1L8LYGFI3PA8Y23XIVR61Z2VX"
npm http request GET https://registry.npmjs.org/uwp
npm http 304 https://registry.npmjs.org/uwp
npm verb headers { date: 'Fri, 26 Feb 2016 10:25:23 GMT',
npm verb headers via: '1.1 varnish',
npm verb headers 'cache-control': 'max-age=300',
npm verb headers etag: '"1L8LYGFI3PA8Y23XIVR61Z2VX"',
npm verb headers age: '0',
npm verb headers connection: 'keep-alive',
npm verb headers 'x-served-by': 'cache-lhr6324-LHR',
npm verb headers 'x-cache': 'MISS',
npm verb headers 'x-cache-hits': '0',
npm verb headers 'x-timer': 'S1456482323.166211,VS0,VE155',
npm verb headers vary: 'Accept' }
npm verb etag https://registry.npmjs.org/uwp from cache
npm verb get saving uwp to C:\Users\Ingvar\AppData\Roaming\npm-cache\registry.npmjs.org\uwp\.cache.json
npm verb correctMkdir C:\Users\Ingvar\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
npm verb cache add spec uwp
npm verb addNamed "latest" is being treated as a dist-tag for uwp
npm info addNameTag [ 'uwp', 'latest' ]
npm verb addNameTag registry:https://registry.npmjs.org/uwp not in flight; fetching
npm verb get https://registry.npmjs.org/uwp not expired, no request
npm verb addNamed "1.0.1" is a plain semver version for uwp
npm verb afterAdd C:\Users\Ingvar\AppData\Roaming\npm-cache\uwp\1.0.1\package\package.json not in flight; writing
npm verb correctMkdir C:\Users\Ingvar\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
npm verb afterAdd C:\Users\Ingvar\AppData\Roaming\npm-cache\uwp\1.0.1\package\package.json written
npm verb correctMkdir C:\Users\Ingvar\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
npm verb lock using C:\Users\Ingvar\AppData\Roaming\npm-cache\_locks\staging-edb22ebdcd22fe61.lock for C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.staging
npm verb unbuild node_modules\.staging\uwp-bfb56f9c
npm verb gentlyRm don't care about contents; nuking C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.staging\uwp-bfb56f9c
npm verb tar unpack C:\Users\Ingvar\AppData\Roaming\npm-cache\uwp\1.0.1\package.tgz
npm verb tar unpacking to C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.staging\uwp-bfb56f9c
npm verb gentlyRm don't care about contents; nuking C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.staging\uwp-bfb56f9c
npm verb gentlyRm don't care about contents; nuking C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.staging\uwp-bfb56f9c\node_modules
npm info lifecycle uwp@1.0.1~preinstall: uwp@1.0.1
npm info linkStuff uwp@1.0.1
npm verb linkBins uwp@1.0.1
npm verb linkMans uwp@1.0.1
npm info lifecycle uwp@1.0.1~install: uwp@1.0.1
> uwp@1.0.1 install C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp
> node-gyp rebuild
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp>if not defined npm_config_node_gyp (node "C:\Program Files\NodejsUwp\Console\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\\Program Files\\NodejsUwp\\Console\\node.exe',
gyp verb cli 'C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@3.2.1
gyp info using node@5.6.0-0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at F (C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\which\which.js:78:9)
gyp verb `which` failed at E (C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\which\which.js:87:22)
gyp verb `which` failed at Anonymous function (C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\which\which.js:98:9)
gyp verb `which` failed at Anonymous function (fs.js:82:5)
gyp verb `which` failed python2 [Error: not found: python2]
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python C:\Python27\python.EXE
gyp verb check python version `C:\Python27\python.EXE -c "import platform; print(platform.python_version());"` returned: "2.7.6\r\n"
gyp verb get node dir no --target version specified, falling back to host node version: 5.6.0-0
gyp verb get node dir compiling against installed dev files: C:\Program Files\NodejsUwp\Console\sdk
gyp verb build dir attempting to create "build" dir: C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build
gyp verb build dir "build" dir needed to be created? C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python27\python.EXE
gyp info spawn args [ 'C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-G',
gyp info spawn args 'msvs_version=2015',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\Ingvar\\Documents\\Projects\\Web\\uwp-filesystem-shim\\node_modules\\uwp\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Program Files\\NodejsUwp\\Console\\sdk\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Program Files\\NodejsUwp\\Console\\sdk',
gyp info spawn args '-Dnode_gyp_dir=C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Ingvar\\Documents\\Projects\\Web\\uwp-filesystem-shim\\node_modules\\uwp',
gyp info spawn args '-Dnode_engine=chakra',
gyp info spawn args '-Dnode_use_sdk=true',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'C:\\Users\\Ingvar\\Documents\\Projects\\Web\\uwp-filesystem-shim\\node_modules\\uwp\\build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Program Files\NodejsUwp\Console\sdk
gyp verb found first Solution file build/binding.sln
gyp verb could not find "msbuild.exe" in PATH - finding location in registry
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 2/26/2016 10:25:25 AM.
Project "C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
The target "BeforeGenerateProjectPriFile" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets (186,61)" does not ex ist in the project, and will be ignored.
Project "C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\binding.sln" (1) is building "C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem -shim\node_modules\uwp\build\uwp.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
Creating directory "Release\obj\uwp\".
Creating directory "Release\obj\uwp\uwp.tlog\".
InitializeBuildStatus:
Creating "Release\obj\uwp\uwp.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Program Files\NodejsUwp\Console\sdk\include\node" /I"C:\Program Files\NodejsUwp\Console\sdk
\src" /I"C:\Program Files\NodejsUwp\Console\sdk\deps\uv\include" /I"C:\Program Files\NodejsUwp\Console\sdk\deps\chakrashim\include" /I..\..\nan /Zi /nologo /W3 /WX- /Ox /Ob
2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=uwp /D "NODE_ENGINE=\"chakra\"" /D USE_EDGEMODE_JSRT /D NODE_ENGINE_CHAKRA /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO
_DEPRECATE /D _HAS_EXCEPTIONS=0 /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SHARED=1 /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forSc
ope /Zc:inline /GR- /Fo"Release\obj\uwp\\" /Fd"Release\obj\uwp\vc140.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /errorReport:queue /MP ..\src\uwp.cc
uwp.cc
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\nan\nan.h(135): warning C4005: 'TYPE_CHECK': macro redefinition [C:\Users\Ingvar\Documents\Projects\We b\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
C:\Program Files\NodejsUwp\Console\sdk\deps\chakrashim\include\v8.h(83): note: see previous definition of 'TYPE_CHECK'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe /c /I"C:\Program Files\NodejsUwp\Console\sdk\include\node" /I"C:\Program Files\NodejsUwp\Console\sdk
\src" /I"C:\Program Files\NodejsUwp\Console\sdk\deps\uv\include" /I"C:\Program Files\NodejsUwp\Console\sdk\deps\chakrashim\include" /I..\..\nan /Zi /nologo /W3 /WX- /Ox /Ob
2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=uwp /D "NODE_ENGINE=\"chakra\"" /D USE_EDGEMODE_JSRT /D NODE_ENGINE_CHAKRA /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO
_DEPRECATE /D _HAS_EXCEPTIONS=0 /D BUILDING_V8_SHARED=1 /D BUILDING_UV_SHARED=1 /D BUILDING_NODE_EXTENSION /D _WINDLL /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forSc
ope /Zc:inline /GR- /Fo"Release\obj\uwp\\" /Fd"Release\obj\uwp\vc140.pdb" /Gd /TC /wd4351 /wd4355 /wd4800 /wd4251 /errorReport:queue /MP "C:\Program Files\NodejsUwp\Console
\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c"
win_delay_load_hook.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\u
wp\build\Release\uwp.node" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\NodejsUwp\Console\sdk\x64" chakrart.lib Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLOAD:node.exe /
MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\Re
lease\uwp.pdb" /MAP /MAPINFO:EXPORTS /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /DLL Release\obj\uwp\uwp.obj
Release\obj\uwp\win_delay_load_hook.obj
Creating library C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\Release\uwp.lib and object C:\Users\Ingvar\Documents\Projects\Web\uwp-
filesystem-shim\node_modules\uwp\build\Release\uwp.exp
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __cdecl v8::External::Value(void)const " (__imp_?Value@External@v8@@QEBAPEAXXZ) [C:\ Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::External * __cdecl v8::External::Cast(class v8::Value *)" (__imp_?Cast@Ext ernal@v8@@SAPEAV12@PEAVValue@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::External> __cdecl v8::External::New(class v8::Isolate *,vo id *)" (__imp_?New@External@v8@@SA?AV?$Local@VExternal@v8@@@2@PEAVIsolate@2@PEAX@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcx proj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Value> __cdecl v8::Isolate::ThrowException(class v8::Local<class
v8::Value>)" (__imp_?ThrowException@Isolate@v8@@QEAA?AV?$Local@VValue@v8@@@2@V32@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vc xproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Context> __cdecl v8::Isolate::GetCurrentContext(void)" (__imp_?Ge tCurrentContext@Isolate@v8@@QEAA?AV?$Local@VContext@v8@@@2@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Isolate * __cdecl v8::Isolate::GetCurrent(void)" (__imp_?GetCurrent@Isolat e@v8@@SAPEAV12@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class v8::HandleScope * __cdecl v8::HandleScope::GetCurrent(void)" (__imp_?GetCurre nt@HandleScope@v8@@CAPEAV12@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: bool __cdecl v8::HandleScope::AddLocal(void *)" (__imp_?AddLocal@HandleScope@v8@@AEAA_NPEA X@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::HandleScope::~HandleScope(void)" (__imp_??1HandleScope@v8@@QEAA@XZ) [C:\Users\I ngvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::HandleScope::HandleScope(class v8::Isolate *)" (__imp_??0HandleScope@v8@@QEAA@P EAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Value> __cdecl v8::Exception::Error(class v8::Local<class
v8::String>)" (__imp_?Error@Exception@v8@@SA?AV?$Local@VValue@v8@@@2@V?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\ build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Value> __cdecl v8::Exception::TypeError(class v8::Local<cl ass v8::String>)" (__imp_?TypeError@Exception@v8@@SA?AV?$Local@VValue@v8@@@2@V?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modu les\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::MaybeLocal<class v8::Function> __cdecl v8::FunctionTemplate::GetFunction(class v8 ::Local<class v8::Context>)" (__imp_?GetFunction@FunctionTemplate@v8@@QEAA?AV?$MaybeLocal@VFunction@v8@@@2@V?$Local@VContext@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\We b\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::FunctionTemplate> __cdecl v8::FunctionTemplate::New(class
v8::Isolate *,void (__cdecl*)(class v8::FunctionCallbackInfo<class v8::Value> const &),class v8::Local<class v8::Value>,class v8::Local<class v8::Signature>,int)" (__imp_?New @FunctionTemplate@v8@@SA?AV?$Local@VFunctionTemplate@v8@@@2@PEAVIsolate@2@P6AXAEBV?$FunctionCallbackInfo@VValue@v8@@@2@@ZV?$Local@VValue@v8@@@2@V?$Local@VSignature@v8@@@2@H@Z ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl v8::V8::ToLocalEmpty(void)" (__imp_?ToLocalEmpty@V8@v8@@SAXXZ) [C:\User s\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl v8::Value::IsString(void)const " (__imp_?IsString@Value@v8@@QEBA_NXZ) [C:\User s\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::String::Value::~Value(void)" (__imp_??1Value@String@v8@@QEAA@XZ) [C:\Users\Ingv ar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::String::Value::Value(class v8::Local<class v8::Value>)" (__imp_??0Value@String@ v8@@QEAA@V?$Local@VValue@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::MaybeLocal<class v8::String> __cdecl v8::String::NewFromUtf8(class v8::Iso late *,char const *,enum v8::NewStringType,int)" (__imp_?NewFromUtf8@String@v8@@SA?AV?$MaybeLocal@VString@v8@@@2@PEAVIsolate@2@PEBDW4NewStringType@2@H@Z) [C:\Users\Ingvar\Doc uments\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class v8::Local<class v8::Primitive> __cdecl v8::Undefined(class v8::Isolate *)" (__imp_?Undefined@ v8@@YA?AV?$Local@VPrimitive@v8@@@1@PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Object * __cdecl v8::Object::Cast(class v8::Value *)" (__imp_?Cast@Object@ v8@@SAPEAV12@PEAVValue@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::Object::SetInternalField(int,class v8::Local<class v8::Value>)" (__imp_?Se tInternalField@Object@v8@@QEAAXHV?$Local@VValue@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Value> __cdecl v8::Object::GetInternalField(int)" (__imp_?GetInte rnalField@Object@v8@@QEAA?AV?$Local@VValue@v8@@@2@H@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl v8::Object::Set(class v8::Local<class v8::Value>,class v8::Local<class v8::Val ue>)" (__imp_?Set@Object@v8@@QEAA_NV?$Local@VValue@v8@@@2@0@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::Function::SetName(class v8::Local<class v8::String>)" (__imp_?SetName@Func tion@v8@@QEAAXV?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::ObjectTemplate::SetInternalFieldCount(int)" (__imp_?SetInternalFieldCount@ ObjectTemplate@v8@@QEAAXH@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::MaybeLocal<class v8::Object> __cdecl v8::ObjectTemplate::NewInstance(class v8::Lo cal<class v8::Context>)" (__imp_?NewInstance@ObjectTemplate@v8@@QEAA?AV?$MaybeLocal@VObject@v8@@@2@V?$Local@VContext@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-fi lesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::ObjectTemplate> __cdecl v8::ObjectTemplate::New(class v8:: Isolate *)" (__imp_?New@ObjectTemplate@v8@@SA?AV?$Local@VObjectTemplate@v8@@@2@PEAVIsolate@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\ build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_close [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_CoUninitialize [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_node_module_register [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj] uwp.obj : error LNK2001: unresolved external symbol uv_async_send [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_async_init [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_CoInitializeEx [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_default_loop [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleSco pe@v8@@QEAA@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned short * __cdecl v8::String::Value::operator*(void)" (__imp_??DValue@String@v8@@QEA APEAGXZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::EscapableHandleScope::EscapableHandleScope(class v8::Isolate *)" (__imp_??0Esca pableHandleScope@v8@@QEAA@PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\Release\uwp.node : fatal error LNK1120: 38 unresolved externals [C:\Users\Ingvar\Documents\P rojects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
Done Building Project "C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\binding.sln" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\binding.sln" (default target) (1) ->
"C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj" (default target) (2) ->
(ClCompile target) ->
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\nan\nan.h(135): warning C4005: 'TYPE_CHECK': macro redefinition [C:\Users\Ingvar\Documents\Projects\ Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
"C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\binding.sln" (default target) (1) ->
"C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj" (default target) (2) ->
(Link target) ->
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void * __cdecl v8::External::Value(void)const " (__imp_?Value@External@v8@@QEBAPEAXXZ) [C :\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::External * __cdecl v8::External::Cast(class v8::Value *)" (__imp_?Cast@E xternal@v8@@SAPEAV12@PEAVValue@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::External> __cdecl v8::External::New(class v8::Isolate *, void *)" (__imp_?New@External@v8@@SA?AV?$Local@VExternal@v8@@@2@PEAVIsolate@2@PEAX@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.v cxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Value> __cdecl v8::Isolate::ThrowException(class v8::Local<clas s v8::Value>)" (__imp_?ThrowException@Isolate@v8@@QEAA?AV?$Local@VValue@v8@@@2@V32@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp. vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Context> __cdecl v8::Isolate::GetCurrentContext(void)" (__imp_? GetCurrentContext@Isolate@v8@@QEAA?AV?$Local@VContext@v8@@@2@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Isolate * __cdecl v8::Isolate::GetCurrent(void)" (__imp_?GetCurrent@Isol ate@v8@@SAPEAV12@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: static class v8::HandleScope * __cdecl v8::HandleScope::GetCurrent(void)" (__imp_?GetCur rent@HandleScope@v8@@CAPEAV12@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: bool __cdecl v8::HandleScope::AddLocal(void *)" (__imp_?AddLocal@HandleScope@v8@@AEAA_NP EAX@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::HandleScope::~HandleScope(void)" (__imp_??1HandleScope@v8@@QEAA@XZ) [C:\Users \Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::HandleScope::HandleScope(class v8::Isolate *)" (__imp_??0HandleScope@v8@@QEAA @PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Value> __cdecl v8::Exception::Error(class v8::Local<clas s v8::String>)" (__imp_?Error@Exception@v8@@SA?AV?$Local@VValue@v8@@@2@V?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uw p\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::Value> __cdecl v8::Exception::TypeError(class v8::Local< class v8::String>)" (__imp_?TypeError@Exception@v8@@SA?AV?$Local@VValue@v8@@@2@V?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_mo dules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::MaybeLocal<class v8::Function> __cdecl v8::FunctionTemplate::GetFunction(class
v8::Local<class v8::Context>)" (__imp_?GetFunction@FunctionTemplate@v8@@QEAA?AV?$MaybeLocal@VFunction@v8@@@2@V?$Local@VContext@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\ Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::FunctionTemplate> __cdecl v8::FunctionTemplate::New(clas s v8::Isolate *,void (__cdecl*)(class v8::FunctionCallbackInfo<class v8::Value> const &),class v8::Local<class v8::Value>,class v8::Local<class v8::Signature>,int)" (__imp_?N ew@FunctionTemplate@v8@@SA?AV?$Local@VFunctionTemplate@v8@@@2@PEAVIsolate@2@P6AXAEBV?$FunctionCallbackInfo@VValue@v8@@@2@@ZV?$Local@VValue@v8@@@2@V?$Local@VSignature@v8@@@2@H @Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl v8::V8::ToLocalEmpty(void)" (__imp_?ToLocalEmpty@V8@v8@@SAXXZ) [C:\Us ers\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl v8::Value::IsString(void)const " (__imp_?IsString@Value@v8@@QEBA_NXZ) [C:\Us ers\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::String::Value::~Value(void)" (__imp_??1Value@String@v8@@QEAA@XZ) [C:\Users\In gvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::String::Value::Value(class v8::Local<class v8::Value>)" (__imp_??0Value@Strin g@v8@@QEAA@V?$Local@VValue@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::MaybeLocal<class v8::String> __cdecl v8::String::NewFromUtf8(class v8::I solate *,char const *,enum v8::NewStringType,int)" (__imp_?NewFromUtf8@String@v8@@SA?AV?$MaybeLocal@VString@v8@@@2@PEAVIsolate@2@PEBDW4NewStringType@2@H@Z) [C:\Users\Ingvar\D ocuments\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class v8::Local<class v8::Primitive> __cdecl v8::Undefined(class v8::Isolate *)" (__imp_?Undefine d@v8@@YA?AV?$Local@VPrimitive@v8@@@1@PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Object * __cdecl v8::Object::Cast(class v8::Value *)" (__imp_?Cast@Objec t@v8@@SAPEAV12@PEAVValue@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::Object::SetInternalField(int,class v8::Local<class v8::Value>)" (__imp_? SetInternalField@Object@v8@@QEAAXHV?$Local@VValue@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::Local<class v8::Value> __cdecl v8::Object::GetInternalField(int)" (__imp_?GetIn ternalField@Object@v8@@QEAA?AV?$Local@VValue@v8@@@2@H@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl v8::Object::Set(class v8::Local<class v8::Value>,class v8::Local<class v8::V alue>)" (__imp_?Set@Object@v8@@QEAA_NV?$Local@VValue@v8@@@2@0@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::Function::SetName(class v8::Local<class v8::String>)" (__imp_?SetName@Fu nction@v8@@QEAAXV?$Local@VString@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl v8::ObjectTemplate::SetInternalFieldCount(int)" (__imp_?SetInternalFieldCoun t@ObjectTemplate@v8@@QEAAXH@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class v8::MaybeLocal<class v8::Object> __cdecl v8::ObjectTemplate::NewInstance(class v8:: Local<class v8::Context>)" (__imp_?NewInstance@ObjectTemplate@v8@@QEAA?AV?$MaybeLocal@VObject@v8@@@2@V?$Local@VContext@v8@@@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp- filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class v8::Local<class v8::ObjectTemplate> __cdecl v8::ObjectTemplate::New(class v8 ::Isolate *)" (__imp_?New@ObjectTemplate@v8@@SA?AV?$Local@VObjectTemplate@v8@@@2@PEAVIsolate@2@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uw p\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_close [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_CoUninitialize [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_node_module_register [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxpro j]
uwp.obj : error LNK2001: unresolved external symbol uv_async_send [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_async_init [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol __imp_CoInitializeEx [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol uv_default_loop [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleS cope@v8@@QEAA@XZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned short * __cdecl v8::String::Value::operator*(void)" (__imp_??DValue@String@v8@@Q EAAPEAGXZ) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
uwp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl v8::EscapableHandleScope::EscapableHandleScope(class v8::Isolate *)" (__imp_??0Es capableHandleScope@v8@@QEAA@PEAVIsolate@1@@Z) [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\Release\uwp.node : fatal error LNK1120: 38 unresolved externals [C:\Users\Ingvar\Documents \Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj]
1 Warning(s)
39 Error(s)
Time Elapsed 00:00:05.00
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at onExit (C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\node-gyp\lib\build.js:278:7)
gyp ERR! stack at emitTwo (events.js:100:5)
gyp ERR! stack at emit (events.js:185:7)
gyp ERR! stack at _handle.onexit (internal/child_process.js:200:7)
gyp ERR! System Windows_NT 10.0.14257
gyp ERR! command "C:\\Program Files\\NodejsUwp\\Console\\node.exe" "C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp
gyp ERR! node -v v5.6.0-0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm verb lifecycle uwp@1.0.1~install: unsafe-perm in lifecycle true
npm verb lifecycle uwp@1.0.1~install: PATH: C:\Program Files\NodejsUwp\Console\node_modules\npm\bin\node-gyp-bin;C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\node_modules\.bin;C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.bin;C:\Program Files\NodejsUwp\Console\node_modules\npm\bin\node-gyp-bin;C:\Program Files\NodejsUwp\Console\;C:\Users\Ingvar\AppData\Roaming\npm;C:\Program Files\cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Users\Ingvar\AppData\Roaming\npm;C:\Program Files (x86)\OpenSSH\bin;C:\Program Files (x86)\CMake\bin;C:\win-builds\bin;C:\Python27\;C:\Ruby193\bin;C:\Program Files (x86)\Mozilla Firefox;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\JXcore;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\nodejs\;C:\Program Files\nodejs (chakracore)\;C:\Program Files\Git\cmd;C:\Program Files\NodejsUwp\Console\;C:\Users\Ingvar\AppData\Local\nylas\bin;C:\Users\Ingvar\AppData\Local\Code\bin;C:\Users\Ingvar\AppData\Roaming\npm
npm verb lifecycle uwp@1.0.1~install: CWD: C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp
npm info lifecycle uwp@1.0.1~install: Failed to exec install script
npm verb unlock done using C:\Users\Ingvar\AppData\Roaming\npm-cache\_locks\staging-edb22ebdcd22fe61.lock for C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\.staging
npm WARN You are using a pre-release version of node and things may not work as expected
npm verb stack Error: uwp@1.0.1 install: `node-gyp rebuild`
npm verb stack Exit status 1
npm verb stack at Anonymous function (C:\Program Files\NodejsUwp\Console\node_modules\npm\lib\utils\lifecycle.js:232:7)
npm verb stack at emitTwo (events.js:100:5)
npm verb stack at emit (events.js:185:7)
npm verb stack at Anonymous function (C:\Program Files\NodejsUwp\Console\node_modules\npm\lib\utils\spawn.js:24:7)
npm verb stack at emitTwo (events.js:100:5)
npm verb stack at emit (events.js:185:7)
npm verb stack at maybeClose (internal/child_process.js:827:5)
npm verb stack at _handle.onexit (internal/child_process.js:211:5)
npm verb pkgid uwp@1.0.1
npm verb cwd C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim
npm ERR! Windows_NT 10.0.14257
npm ERR! argv "C:\\Program Files\\NodejsUwp\\Console\\node.exe" "C:\\Program Files\\NodejsUwp\\Console\\node_modules\\npm\\bin\\npm-cli.js" "i" "uwp" "--verbose"
npm ERR! node v5.6.0-0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! uwp@1.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uwp@1.0.1 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the uwp 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 information on how to open an issue for this project with:
npm ERR! npm bugs uwp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls uwp
npm ERR! There is likely additional logging output above.
npm verb exit [ 1, true ]
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\npm-debug.log
Also tried with Node (chakracore) instead, but apparently it's not yet supported, as getting same errors we discussed previously here:
..\src\uwp.cc(75): error C2061: syntax error: identifier 'JsProjectionCallback' [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj ]
..\src\uwp.cc(77): error C3481: 'jsCallback': lambda capture variable not found [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj ]
..\src\uwp.cc(77): error C3481: 'jsContext': lambda capture variable not found [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxproj] ..\src\uwp.cc(77): error C3493: 'jsCallback' cannot be implicitly captured because no default capture mode has been specified [C:\Users\Ingvar\Documents\Projects\Web\uwp-file system-shim\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(77): error C3493: 'jsContext' cannot be implicitly captured because no default capture mode has been specified [C:\Users\Ingvar\Documents\Projects\Web\uwp-files ystem-shim\node_modules\uwp\build\uwp.vcxproj]
..\src\uwp.cc(74): error C3861: 'JsSetProjectionEnqueueCallback': identifier not found [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp. vcxproj]
..\src\uwp.cc(104): error C3861: 'JsProjectWinRTNamespace': identifier not found [C:\Users\Ingvar\Documents\Projects\Web\uwp-filesystem-shim\node_modules\uwp\build\uwp.vcxpro j]
Your link command line was missing some libs. You have only 2 libs listed: chakrart.lib Delayimp.lib
.
This is mine:
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\tmp\node_module
s\uwp\build\Release\uwp.node" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program Files\NodejsUwp\Console\sdk\x64" chakrart.
lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.
lib odbc32.lib DelayImp.lib node.lib Delayimp.lib /DELAYLOAD:iojs.exe /DELAYLOAD:node.exe /MANIFEST /MANIFESTUAC:"lev
el='asInvoker' uiAccess='false'" /manifest:embed /Debug /PDB:"D:\tmp\node_modules\uwp\build\Release\uwp.pdb" /MAP /MA
PINFO:EXPORTS /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ignore:4199 /DLL Release\obj\uwp\
uwp.obj
Release\obj\uwp\win_delay_load_hook.obj
Creating library D:\tmp\node_modules\uwp\build\Release\uwp.lib and object D:\tmp\node_modules\uwp\build\Release\uw
p.exp
Those libs are supposed to be brought in by C:\Program Files\NodejsUwp\Console\node_modules\npm\node_modules\node-gyp\addon.gypi
:
['node_win_onecore=="false"', {
'libraries': [
'-lkernel32.lib',
'-luser32.lib',
'-lgdi32.lib',
'-lwinspool.lib',
'-lcomdlg32.lib',
'-ladvapi32.lib',
'-lshell32.lib',
'-lole32.lib',
'-loleaut32.lib',
'-luuid.lib',
'-lodbc32.lib',
'-lDelayImp.lib',
'-l"<(node_lib_file)"',
],
}],
@jianchun Well... what am I missing then? (where do I get them from?)
I did nothing special, I have latest Windows Insider build of Windows, Node.js installer mentioned above and do nothing special apart from just npm i uwp
.
npm install uwp
gave me some compile errors (please forgive my localized msbuild printing some messages in French):Since the errors were clearly complaining about nan, I thought I would check the version of nan that was used. Your
package.json
mentions^2.1.0
, which resolved to2.2.0
. I guessed that maybe you didn't testuwp
with nan2.2.0
, so I cloned this repo on my disk, changed the nan version inpackage.json
to~2.1.0
, rannpm i /path/to/my/cloned/uwp
and it worked.So maybe nan messed up and there is a breaking change between 2.1 and 2.2, or maybe uwp is using some internal nan APIs that were changed between 2.1 and 2.2. Anyway, a quick fix is to change the
package.json
nan dependency to~2.1.0
or even2.1.0
.