You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ node tools/install.js
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 2.7.16 found at "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/bjenks/Library/Caches/node-gyp/12.12.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/bjenks/Library/Caches/node-gyp/12.12.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/bjenks/Library/Caches/node-gyp/12.12.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/edge_coreclr/src/common/v8synchronizationcontext.o
CXX(target) Release/obj.target/edge_coreclr/src/common/callbackhelper.o
CXX(target) Release/obj.target/edge_coreclr/src/common/edge.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrembedding.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrfunc.o
../src/CoreCLREmbedding/coreclrfunc.cpp:491:4: warning: ignoring return value of function
declared with 'warn_unused_result' attribute [-Wunused-result]
...result->SetPrototype(Nan::GetCurrentContext(), v8::Exception::Error(message));
^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrnodejsfunc.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrfuncinvokecontext.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/coreclrnodejsfuncinvokecontext.o
CXX(target) Release/obj.target/edge_coreclr/src/common/utils.o
../src/common/utils.cpp:24:2: warning: ignoring return value of function declared with
'warn_unused_result' attribute [-Wunused-result]
...exception->SetPrototype(Nan::GetCurrentContext(), v8::Exception::Error(Nan::New<v8::String>(message).ToLocalChecked()));
^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/pal/pal_utils.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/pal/trace.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/fxr/fx_ver.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/fxr/fx_muxer.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/json/casablanca/src/json/json.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/json/casablanca/src/json/json_parsing.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/json/casablanca/src/json/json_serialization.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/json/casablanca/src/utilities/asyncrt_utils.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/deps/deps_format.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/deps/deps_entry.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/deps/deps_resolver.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/host/args.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/host/coreclr.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/host/libhost.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/host/runtime_config.o
CXX(target) Release/obj.target/edge_coreclr/src/CoreCLREmbedding/pal/pal.unix.o
SOLINK_MODULE(target) Release/edge_coreclr.node
ACTION binding_gyp_build_managed_target_restore_bootstrap_packages lib/bootstrap/project.lock.json
Restore completed in 607.97 ms for /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/src/double/Edge.js.CSharp/Edge.js.CSharp.csproj.
Restore completed in 607.97 ms for /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/lib/bootstrap/bootstrap.csproj.
Restore completed in 731.85 ms for /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/src/double/Edge.js/Edge.js.csproj.
ACTION binding_gyp_build_managed_target_compile_bootstrap lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll
Microsoft (R) Build Engine version 16.3.0+0f4c62fea for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 29.7 ms for /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/lib/bootstrap/bootstrap.csproj.
Restore completed in 29.74 ms for /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/src/double/Edge.js/Edge.js.csproj.
Restore completed in 29.71 ms for /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/src/double/Edge.js.CSharp/Edge.js.CSharp.csproj.
Edge.js.CSharp -> /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/src/double/Edge.js.CSharp/bin/Release/netcoreapp1.1/Edge.js.CSharp.dll
Edge.js -> /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/src/double/Edge.js/bin/Release/netcoreapp1.1/EdgeJs.dll
bootstrap -> /Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.77
ACTION binding_gyp_build_managed_target_compile_mono_embed build/Release/monoembedding.exe
TOUCH Release/obj.target/build_managed.stamp
gyp info ok
Start:
$ npm run start:core
> [email protected] start:core /Users/bjenks/Downloads/edge-js-quick-start-master
> node main.js core
CoreClrEmbedding::Initialize - Failed to initialize CoreCLR, HRESULT: 0x80070057
/Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/lib/edge.js:181
return edge.initializeClrFunc(options);
^
TypeError: edge.initializeClrFunc is not a function
at Object.exports.func (/Users/bjenks/Downloads/edge-js-quick-start-master/node_modules/edge-js/lib/edge.js:181:17)
at Object.<anonymous> (/Users/bjenks/Downloads/edge-js-quick-start-master/main.js:19:34)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
at internal/main/run_main_module.js:17:11
process.env.EDGE_NATIVE is pointing to ./build/Release/edge_coreclr.node, which seems correct.
process.env.EDGE_BOOTSTRAP_DIR is pointing to ./lib/bootstrap/bin/Release/netcoreapp1.1, which also seems correct.
On Windows I only get as far as this error: Error: Call to coreclr_create_delegate() for G failed with a return code of 0x80070002. Possibly another occurance of #3.
Same Failed to initialize issue on Linux (ubuntu 5.0.0-23-generic).
Install Output:
Start:
Versions:
Any ideas?
The text was updated successfully, but these errors were encountered: