agracio / electron-edge-js

Run .NET and Node.js code in-process on Windows, MacOS, and Linux using Electron
MIT License
354 stars 92 forks source link

The edge native module is not available #102

Closed rfedericoni closed 5 months ago

rfedericoni commented 3 years ago

I compiled QuickStart .net core project but when I run the Electron app I receive this error Schermata 2021-01-15 alle 15 15 07

agracio commented 3 years ago

You would have this issue if npm install had errors and failed to build module. I just tested the project on MacOS and discovered an issue with C++ version that affected MacOS builds. Please update to latest version and rebuild using npm i, make sure that it finishes without errors.

rfedericoni commented 3 years ago

Hi , thanks for the help I tried but unfortunately nothing changed.. see the screen shot. Thanks in adavace [image: Schermata 2021-01-17 alle 08.39.13.png]

On Sat, 16 Jan 2021 at 13:54, agracio notifications@github.com wrote:

You would have this issue if npm install had errors and failed to build module. I just tested the project on MacOS and discovered an issue with C++ version that affected MacOS builds. Please update to latest version and rebuild using npm i, make sure that it finishes without errors.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-761559004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4F3MYU7CS2A6IWBSADS2GEBRANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

Another info: I compiled QuickStart.Core and ExternalLibrary in .NET Core 3.1.

On Sun, 17 Jan 2021 at 08:44, Roberto Federiconi r.federiconi@gmail.com wrote:

Hi , thanks for the help I tried but unfortunately nothing changed.. see the screen shot. Thanks in adavace [image: Schermata 2021-01-17 alle 08.39.13.png]

On Sat, 16 Jan 2021 at 13:54, agracio notifications@github.com wrote:

You would have this issue if npm install had errors and failed to build module. I just tested the project on MacOS and discovered an issue with C++ version that affected MacOS builds. Please update to latest version and rebuild using npm i, make sure that it finishes without errors.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-761559004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4F3MYU7CS2A6IWBSADS2GEBRANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

ok so step by step - you clone electron-edge-js-quick-start and the run npm install or in your current cloned project you run rm -rf node_modules && npm install does it complete correctly without errors? Once it completes correctly then run the rest of commands.

EDIT: Post the output of rm -rf node_modules && npm install

rfedericoni commented 3 years ago

Done: 1) downloaded zip 2) npm install (no errors) 3) npm start, but I have the same error after npm start... se the commands in this image:[image: Schermata 2021-01-18 alle 07.07.29.png]

On Sun, 17 Jan 2021 at 13:18, agracio notifications@github.com wrote:

ok so step by step - you clone electron-edge-js-quick-start and the run npm install or in your current cloned project you run rm -rf node_modules && npm install does it complete correctly without errors? Once it completes correctly then run the rest of commands.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-761802835, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4H7BTKW7IB5LJ3V5F3S2LIQBANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

Unfortunately I cannot reproduce the error.

rfedericoni commented 3 years ago

You are trying in macos?

On Mon, 18 Jan 2021 at 10:58, agracio notifications@github.com wrote:

Unfortunately I cannot reproduce the error.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762132875, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4D3OGKRIKE77SZ7LCLS2QA47ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

The problem could depend on some prerequisites previously installed: nodejs, .net core? On Mon, 18 Jan 2021 at 11:08, Roberto Federiconi r.federiconi@gmail.com wrote:

You are trying in macos?

On Mon, 18 Jan 2021 at 10:58, agracio notifications@github.com wrote:

Unfortunately I cannot reproduce the error.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762132875, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4D3OGKRIKE77SZ7LCLS2QA47ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

I tested it on MacOS when you opened issue and there was indeed a problem with failing npm install that would result in missing module as it was not building. The error is fixed and the code runs fine now with new repo version. You have not provided me with full output of you npm installon fresh clone or rm -rf node_modules && npm install if you running on existing clone that you tried to build previously.

rfedericoni commented 3 years ago

I run rm -rf node_modules && npm install and I noticed that the file the electron are trying to load there isn't in electron-edge-js-quick-start-master/node_modules/electron-edge-js/build/Release/edge_coreclr.node inside build I have only this: [image: Schermata 2021-01-18 alle 12.09.53.png] I found the edge_coreclr.node file on in those folders: [image: Schermata 2021-01-18 alle 12.11.35.png]

Do you have the file in the right place? I'm using Electron 11.2.0 I don't see the folder for the 11.2 versione could be this the problem? [image: Schermata 2021-01-18 alle 12.13.59.png]

On Mon, 18 Jan 2021 at 11:59, agracio notifications@github.com wrote:

I tested it on MacOS when you opened and issue and there was indeed a problem with failing npm install that would result in missing module as it was not building. The error is fixed and the code runs fine now with new repo version. You have not provided me with full output of you npm installon fresh clone or rm -rf node_modules && npm install if you running on existing clone that you tried to build previously.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762170557, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4CDZEIEOVGZIHRM6PLS2QH7LANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

So a couple of things, first when you replying in email you are not attaching anything. Second and most important one is I am asking to provide full output of rm -rf node_modules && npm install here in order to be able to investigate the issue you having otherwise will not be able to help you. Not a screenshot as it would take more than one screen but full text.

rfedericoni commented 3 years ago

ok.. sorry.. this the output:

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ rm -rf node_modules && npm install

added 92 packages, and audited 93 packages in 12s

6 packages are looking for funding

run npm fund for details

found 0 vulnerabilities

On Mon, 18 Jan 2021 at 12:22, agracio notifications@github.com wrote:

So a couple of thing, first when you replying in email you are not attaching anything. Second and most important one is I am asking to provide full output of rm -rf node_modules && npm install here in order to be able to investigate the issue you having otherwise will not be able to help you. Not a screenshot as it would take more than one screen but full text.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762184642, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4BUJ57PMSCP23R6TLDS2QKY7ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

and this the npm fund command output:

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ npm fund

electron-edge-js-quick-start@1.0.0

├── https://opencollective.com/core-js

│ └── core-js@3.8.2

├── https://github.com/sponsors/sindresorhus

│ └── serialize-error@7.0.1, type-fest@0.13.1, escape-string-regexp@4.0.0, get-stream@5.2.0

└── https://github.com/sponsors/ljharb

└── globalthis@1.0.1

On Mon, 18 Jan 2021 at 12:26, Roberto Federiconi r.federiconi@gmail.com wrote:

ok.. sorry.. this the output:

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ rm -rf node_modules && npm install

added 92 packages, and audited 93 packages in 12s

6 packages are looking for funding

run npm fund for details

found 0 vulnerabilities

On Mon, 18 Jan 2021 at 12:22, agracio notifications@github.com wrote:

So a couple of thing, first when you replying in email you are not attaching anything. Second and most important one is I am asking to provide full output of rm -rf node_modules && npm install here in order to be able to investigate the issue you having otherwise will not be able to help you. Not a screenshot as it would take more than one screen but full text.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762184642, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4BUJ57PMSCP23R6TLDS2QKY7ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

This does not look like entire output, there are no build actions at all. Not sure what is happening with your build there. This is how it should look like:

rm -rf node_modules && npm install

> edge-cs@1.2.1 install /Users/username/Dev/electron-edge-js-quick-start/node_modules/edge-cs
> node tools/install.js

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

> electron-edge-js@12.18.5 install /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js
> node tools/install.js

  TOUCH Release/obj.target/edge_nativeclr.stamp
  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:474:4: warning: ignoring return value of
      function declared with 'warn_unused_result' attribute [-Wunused-result]
  ...result->Set(Nan::GetCurrentContext(), i, MarshalCLRToV8(arrayData->itemValues[i], arrayData->itemTypes[i]));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/CoreCLREmbedding/coreclrfunc.cpp:487:4: warning: ignoring return value of
      function declared with 'warn_unused_result' attribute [-Wunused-result]
  ...result->Set(Nan::GetCurrentContext(), Nan::New<v8::String>(objectData->propertyNames[i]).ToLocalChecked(), MarshalCLRToV8(objectData->propertyData[i], objectData->propertyTypes[i]));
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/CoreCLREmbedding/coreclrfunc.cpp:495:4: warning: ignoring return value of
      function declared with 'warn_unused_result' attribute [-Wunused-result]
  ...result->SetPrototype(Nan::GetCurrentContext(), v8::Exception::Error(message));
     ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/CoreCLREmbedding/coreclrfunc.cpp:496:4: warning: ignoring return value of
      function declared with 'warn_unused_result' attribute [-Wunused-result]
  ...result->Set(Nan::GetCurrentContext(), Nan::New<v8::String>("message").ToLocalChecked(), message);
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/CoreCLREmbedding/coreclrfunc.cpp:497:4: warning: ignoring return value of
      function declared with 'warn_unused_result' attribute [-Wunused-result]
  ...result->Set(Nan::GetCurrentContext(), Nan::New<v8::String>("name").ToLocalChecked(), name);
     ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings 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
  Determining projects to restore...
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]
  Restored /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj (in 414 ms).
  Restored /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj (in 472 ms).
  ACTION binding_gyp_build_managed_target_compile_bootstrap lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]
  All projects are up-to-date for restore.
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
  Edge.js -> /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/bin/Release/netcoreapp1.1/EdgeJs.dll
  bootstrap -> /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll

Build succeeded.

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]
/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]
    5 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.73
  TOUCH Release/obj.target/build_managed.stamp

> core-js@3.8.2 postinstall /Users/username/Dev/electron-edge-js-quick-start/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

> electron@11.2.0 postinstall /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron
> node install.js

added 92 packages from 107 contributors and audited 92 packages in 39.829s

6 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
agracio commented 3 years ago

You do not have a single module related install or postinstall command running, not sure what is wrong there with your install.

rfedericoni commented 3 years ago

ah this is very strange... could depend on node js version?

On Mon, 18 Jan 2021 at 12:34, agracio notifications@github.com wrote:

This does not look like entire output, there are no build actions at all. Not sure what is happening with your build there. This is how it should look like:

rm -rf node_modules && npm install

edge-cs@1.2.1 install /Users/username/Dev/electron-edge-js-quick-start/node_modules/edge-cs> node tools/install.js

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

electron-edge-js@12.18.5 install /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js> node tools/install.js

TOUCH Release/obj.target/edge_nativeclr.stamp 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:474:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), i, MarshalCLRToV8(arrayData->itemValues[i], arrayData->itemTypes[i])); ^~~ ~~~~~~~~~~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:487:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), Nan::New(objectData->propertyNames[i]).ToLocalChecked(), MarshalCLRToV8(objectData->propertyData[i], objectData->propertyTypes[i])); ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:495:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->SetPrototype(Nan::GetCurrentContext(), v8::Exception::Error(message)); ^~~~~~ ~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:496:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), Nan::New("message").ToLocalChecked(), message); ^~~ ~~~~~~~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:497:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), Nan::New("name").ToLocalChecked(), name); ^~~ ~~~~~~~~~~~~~~~~~ 5 warnings 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(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 Determining projects to restore... /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] Restored /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj (in 414 ms). Restored /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj (in 472 ms). ACTION binding_gyp_build_managed_target_compile_bootstrap lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore... /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] All projects are up-to-date for restore. /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] Edge.js -> /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/bin/Release/netcoreapp1.1/EdgeJs.dll bootstrap -> /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll

Build succeeded.

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] 5 Warning(s) 0 Error(s)

Time Elapsed 00:00:01.73 TOUCH Release/obj.target/build_managed.stamp

core-js@3.8.2 postinstall /Users/username/Dev/electron-edge-js-quick-start/node_modules/core-js> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

electron@11.2.0 postinstall /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron> node install.js

added 92 packages from 107 contributors and audited 92 packages in 39.829s

6 packages are looking for funding run npm fund for details

found 0 vulnerabilities

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762191097, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4HURKS3UY3VEZEOPXTS2QMF3ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

I am using version 12.x but I am not aware of any version of Node.js that would skip postinstall actions.

rfedericoni commented 3 years ago

Before to try electron-edge-js-quick-start I only installed Visual Studio for .NET and last version on Node js

On Mon, 18 Jan 2021 at 12:39, Roberto Federiconi r.federiconi@gmail.com wrote:

ah this is very strange... could depend on node js version?

On Mon, 18 Jan 2021 at 12:34, agracio notifications@github.com wrote:

This does not look like entire output, there are no build actions at all. Not sure what is happening with your build there. This is how it should look like:

rm -rf node_modules && npm install

edge-cs@1.2.1 install /Users/username/Dev/electron-edge-js-quick-start/node_modules/edge-cs> node tools/install.js

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

electron-edge-js@12.18.5 install /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js> node tools/install.js

TOUCH Release/obj.target/edge_nativeclr.stamp 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:474:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), i, MarshalCLRToV8(arrayData->itemValues[i], arrayData->itemTypes[i])); ^~~ ~~~~~~~~~~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:487:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), Nan::New(objectData->propertyNames[i]).ToLocalChecked(), MarshalCLRToV8(objectData->propertyData[i], objectData->propertyTypes[i])); ^~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:495:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->SetPrototype(Nan::GetCurrentContext(), v8::Exception::Error(message)); ^~~~~~ ~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:496:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), Nan::New("message").ToLocalChecked(), message); ^~~ ~~~~~~~~~~~~~~~~~~~ ../src/CoreCLREmbedding/coreclrfunc.cpp:497:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ...result->Set(Nan::GetCurrentContext(), Nan::New("name").ToLocalChecked(), name); ^~~ ~~~~~~~~~~~~~~~~~ 5 warnings 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(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 Determining projects to restore... /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] Restored /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj (in 414 ms). Restored /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj (in 472 ms). ACTION binding_gyp_build_managed_target_compile_bootstrap lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore... /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] All projects are up-to-date for restore. /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] Edge.js -> /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/bin/Release/netcoreapp1.1/EdgeJs.dll bootstrap -> /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll

Build succeeded.

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj] /usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp1.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/username/Dev/electron-edge-js-quick-start/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj] 5 Warning(s) 0 Error(s)

Time Elapsed 00:00:01.73 TOUCH Release/obj.target/build_managed.stamp

core-js@3.8.2 postinstall /Users/username/Dev/electron-edge-js-quick-start/node_modules/core-js> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

electron@11.2.0 postinstall /Users/username/Dev/electron-edge-js-quick-start/node_modules/electron> node install.js

added 92 packages from 107 contributors and audited 92 packages in 39.829s

6 packages are looking for funding run npm fund for details

found 0 vulnerabilities

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762191097, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4HURKS3UY3VEZEOPXTS2QMF3ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

rfedericoni commented 3 years ago

this it's very strange.. There is a way to force post install execution?

On Mon, 18 Jan 2021 at 12:41, agracio notifications@github.com wrote:

I am using version 12.x but I am not aware of any version of Node.js that would skip postinstall actions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762194845, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4FLTNEUO7PXLTN4MODS2QM75ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

Ok... I reinstaller nodejs and now post installa command are executed, here the output:

npm WARN read-shrinkwrap This version of npm is compatible with
lockfileVersion@1, but package-lock.json was generated for
lockfileVersion@2. I'll try to do my best with it!

> edge-cs@1.2.1 install
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/edge-cs

> node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La
directory di lavoro corrente non contiene alcun file di progetto o di
soluzione.

Microsoft (R) Build Engine versione 16.8.3+39993bd9d per .NET

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La
directory di lavoro corrente non contiene alcun file di progetto o di
soluzione.

> electron-edge-js@12.18.4 install
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/electron-edge-js

> node tools/install.js

/bin/sh: pkg-config: command not found

gyp: Call to 'pkg-config mono-2 --libs' returned exit status 127 while in
binding.gyp. while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onCpExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)

gyp ERR! stack     at ChildProcess.emit (events.js:315:20)

gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:277:12)

gyp ERR! System Darwin 19.6.0

gyp ERR! command "/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"configure" "build" "--target=11.2.0" "--disturl=
https://atom.io/download/atom-shell"

gyp ERR! cwd
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/electron-edge-js

gyp ERR! node -v v14.15.4

gyp ERR! node-gyp -v v5.1.0

gyp ERR! not ok

> core-js@3.8.2 postinstall
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/core-js

> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for
polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open
Collective or Patreon:

> https://opencollective.com/core-js

> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for
a good job -)

> electron@11.2.0 postinstall
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/electron

> node install.js

added 92 packages from 107 contributors and audited 92 packages in 14.346s

6 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

iMac-di-Roberto:electron-edge-js-quick-start-master robertofedericoni$ npm
start

> electron-edge-js-quick-start@1.0.0 start
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master

> electron --core .

iMac-di-Roberto:electron-edge-js-quick-start-master robertofedericoni$ rm
-rf node_modules && npm install

> edge-cs@1.2.1 install
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/edge-cs

> node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La
directory di lavoro corrente non contiene alcun file di progetto o di
soluzione.

Microsoft (R) Build Engine versione 16.8.3+39993bd9d per .NET

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La
directory di lavoro corrente non contiene alcun file di progetto o di
soluzione.

> electron-edge-js@12.18.4 install
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/electron-edge-js

> node tools/install.js

/bin/sh: pkg-config: command not found

gyp: Call to 'pkg-config mono-2 --libs' returned exit status 127 while in
binding.gyp. while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! stack     at ChildProcess.onCpExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)

gyp ERR! stack     at ChildProcess.emit (events.js:315:20)

gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:277:12)

gyp ERR! System Darwin 19.6.0

gyp ERR! command "/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"configure" "build" "--target=11.2.0" "--disturl=
https://atom.io/download/atom-shell"

gyp ERR! cwd
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/electron-edge-js

gyp ERR! node -v v14.15.4

gyp ERR! node-gyp -v v5.1.0

gyp ERR! not ok

> core-js@3.8.2 postinstall
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/core-js

> node -e "try{require('./postinstall')}catch(e){}"

> electron@11.2.0 postinstall
/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master/node_modules/electron

> node install.js

added 92 packages from 107 contributors and audited 92 packages in 10.743s

6 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

On Mon, 18 Jan 2021 at 12:47, Roberto Federiconi r.federiconi@gmail.com wrote:

this it's very strange.. There is a way to force post install execution?

On Mon, 18 Jan 2021 at 12:41, agracio notifications@github.com wrote:

I am using version 12.x but I am not aware of any version of Node.js that would skip postinstall actions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762194845, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4FLTNEUO7PXLTN4MODS2QM75ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

Looks like you missing build dependencies. Most if not all can be installed by simply installing Homebrew https://brew.sh/, it installs multiple dependencies when you install it like xcode-commandline-tools etc...

rfedericoni commented 3 years ago

Thanks, I'll install brew and I'll try again

On Mon, 18 Jan 2021 at 13:02, agracio notifications@github.com wrote:

Looks like you missing build dependencies. Most if not all can be installed by simply installing Homebrew https://brew.sh/, it installs multiple dependencies when you install it like xcode-commandline-tools etc...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762205934, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4ECQVQ2YUTOLADDFVTS2QPNVANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

Done with success but the rm -rf node_modules && npm install command output seems identical. I very appreciate your help and since for me it's very important to see your electron-js in action with .NET Core and I would not like to take advantage of your time for free, I would like to ask you if you are willing to help me for a fee.. what do you think?

Output:

edge-cs@1.2.1 install /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/edge-cs

node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

Microsoft (R) Build Engine versione 16.8.3+39993bd9d per .NET

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

electron-edge-js@12.18.5 install /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js

node tools/install.js

/bin/sh: pkg-config: command not found

gyp: Call to 'pkg-config mono-2 --libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: gyp failed with exit code: 1

gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)

gyp ERR! stack at ChildProcess.emit (events.js:315:20)

gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

gyp ERR! System Darwin 19.6.0

gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" "--target=11.2.0" "--disturl= https://atom.io/download/atom-shell"

gyp ERR! cwd /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js

gyp ERR! node -v v14.15.4

gyp ERR! node-gyp -v v5.1.0

gyp ERR! not ok

core-js@3.8.2 postinstall /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/core-js

node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js

https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

electron@11.2.0 postinstall /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron

node install.js

added 92 packages from 107 contributors and audited 92 packages in 13.529s

6 packages are looking for funding

run npm fund for details

found 0 vulnerabilities

On Mon, 18 Jan 2021 at 13:06, Roberto Federiconi r.federiconi@gmail.com wrote:

Thanks, I'll install brew and I'll try again

On Mon, 18 Jan 2021 at 13:02, agracio notifications@github.com wrote:

Looks like you missing build dependencies. Most if not all can be installed by simply installing Homebrew https://brew.sh/, it installs multiple dependencies when you install it like xcode-commandline-tools etc...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762205934, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4ECQVQ2YUTOLADDFVTS2QPNVANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

Not sure what is going on with your build, you can try installing pkg-config using brew install pkg-config and see if it helps. I can see references to Mono that I do not have installed on my MacOS, maybe it causes problems as I can see there is no pkg-config on my MacOS.

rfedericoni commented 3 years ago

unfortunately this not help, I don't remember is I installed mono but for sure I don't need it... I could use your builded files? I need only to see in action and make some change in .Net Core side.. can we find a way to bypass the problem in my PC?

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ rm -rf node_modules && npm install

edge-cs@1.2.1 install /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/edge-cs

node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

Microsoft (R) Build Engine versione 16.8.3+39993bd9d per .NET

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

electron-edge-js@12.18.5 install /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js

node tools/install.js

Package mono-2 was not found in the pkg-config search path.

Perhaps you should add the directory containing `mono-2.pc'

to the PKG_CONFIG_PATH environment variable

No package 'mono-2' found

gyp: Call to 'pkg-config mono-2 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

gyp ERR! configure error

gyp ERR! stack Error: gyp failed with exit code: 1

gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)

gyp ERR! stack at ChildProcess.emit (events.js:315:20)

gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)

gyp ERR! System Darwin 19.6.0

gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" "--target=11.2.0" "--disturl= https://atom.io/download/atom-shell"

gyp ERR! cwd /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js

gyp ERR! node -v v14.15.4

gyp ERR! node-gyp -v v5.1.0

gyp ERR! not ok

core-js@3.8.2 postinstall /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/core-js

node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js

https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

electron@11.2.0 postinstall /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron

node install.js

added 92 packages from 107 contributors and audited 92 packages in 12.213s

6 packages are looking for funding

run npm fund for details

found 0 vulnerabilities

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$

On Mon, 18 Jan 2021 at 13:23, agracio notifications@github.com wrote:

Not sure what is going on with your build, you can try installing pkg-config using brew install pkg-config and see if it helps. I can see references to Mono that I do not have installed on my MacOS, maybe it causes problems as I can see there is no pkg-config on my MacOS.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762216820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4AS2UJDL4FPEMF5C53S2QR3TANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

Pre-build modules are only for Windows .NET Framework 4.x. From what I can see in binding.gyp it thinks that you have Mono installed. Try running this command: which mono2. If it returns anything other than 'not found' you need to either remove it or fix install https://www.minicreo.com/mac-uninstaller/uninstall-mono-framework-mac.html#how-to-uninstall-Mono-Framework-mac-p1. Maybe you have it as part as Xamarin tools?

rfedericoni commented 3 years ago

"which mono2" command doesn't return nothing I didn't install Xamarin tools.

On Mon, 18 Jan 2021 at 13:45, agracio notifications@github.com wrote:

Pre-build modules are only for Windows .NET Framework 4.x. From what I can see in binding.gyp it thinks that you have Mono installed. Try running this command: which mono2. If it returns anything other than 'not found' you need to either remove it or fix install https://www.minicreo.com/mac-uninstaller/uninstall-mono-framework-mac.html#how-to-uninstall-Mono-Framework-mac-p1. Maybe you have it as part as Xamarin tools?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762228322, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4EDTUPFHIY7SYCY2JDS2QUORANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

Does it return mono2 not found?

rfedericoni commented 3 years ago

I installed Visual Studio for MacOS only .NET Core and Rider (JetBrains) then NodeJS and your QuickStart sample... Maybe could uninstall all and restart by zero?

On Mon, 18 Jan 2021 at 15:19, Roberto Federiconi r.federiconi@gmail.com wrote:

"which mono2" command doesn't return nothing I didn't install Xamarin tools.

On Mon, 18 Jan 2021 at 13:45, agracio notifications@github.com wrote:

Pre-build modules are only for Windows .NET Framework 4.x. From what I can see in binding.gyp it thinks that you have Mono installed. Try running this command: which mono2. If it returns anything other than 'not found' you need to either remove it or fix install https://www.minicreo.com/mac-uninstaller/uninstall-mono-framework-mac.html#how-to-uninstall-Mono-Framework-mac-p1. Maybe you have it as part as Xamarin tools?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762228322, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4EDTUPFHIY7SYCY2JDS2QUORANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

rfedericoni commented 3 years ago

Yes:

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ mono2

-bash: mono2: command not found

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$

On Mon, 18 Jan 2021 at 15:22, agracio notifications@github.com wrote:

Does it return mono2 not found?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762280870, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4BGWWMHWQP3OBNEN2LS2Q7Y3ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

If I reinstall completely my Mac OS by zero do you think we will able to make it work?

On Mon, 18 Jan 2021 at 15:22, Roberto Federiconi r.federiconi@gmail.com wrote:

Yes:

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ mono2

-bash: mono2: command not found

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$

On Mon, 18 Jan 2021 at 15:22, agracio notifications@github.com wrote:

Does it return mono2 not found?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762280870, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4BGWWMHWQP3OBNEN2LS2Q7Y3ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

Honestly no idea, its hard to say what is wrong with it as it should just work.

rfedericoni commented 3 years ago

Can I try to compile edge-cs by opening solution file with Visual Studio?

On Mon, 18 Jan 2021 at 15:41, agracio notifications@github.com wrote:

Honestly no idea, its hard to say what is wrong with it as it should just work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762292030, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4AEAZFW2L7ZYDSYCS3S2RB75ANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

It is a C++ compile defined in binding.gyp but for some reason it picks up a wrong code path for you.

rfedericoni commented 3 years ago

I could try to test it in a Windows 10 PC.. the procedure is the same?

On Mon, 18 Jan 2021 at 15:48, agracio notifications@github.com wrote:

It is a C++ compile defined in binding.gyp but for some reason it picks up a wrong code path for you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762296334, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4AZTRBMUBHSLHRG3R3S2RC4JANCNFSM4WEDVZ6A .

-- Roberto Federiconi

agracio commented 3 years ago

Exactly the same

rfedericoni commented 3 years ago

So I need to install: 1) nodejs for windows 2) net core which version? Sdk and runtime? 3) your QuickStart sample

Is correct?

On Mon, 18 Jan 2021 at 19:29, agracio notifications@github.com wrote:

Exactly the same

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762410601, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4H2JMC3EAGI6YRCDXDS2R4ZHANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

Hi , in windows version also the electron app doesn't load the .net core dll, here the installation output of windows version:

C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master>npm i npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported

edge-cs@1.2.1 install C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\edge-cs node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione. Microsoft (R) Build Engine versione 16.7.0+7fb82e5b2 per .NET Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

electron-edge-js@8.3.8 install C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js node tools/install.js

Individuazione dei progetti da ripristinare...

C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\bootstrap\bootstrap.csproj ripristinato (in 17,1 sec).

C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\src\double\Edge.js\Edge.js.csproj ripristinato (in 17,1 sec). Microsoft (R) Build Engine versione 16.7.0+7fb82e5b2 per .NET Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

Individuazione dei progetti da ripristinare... Tutti i progetti sono aggiornati per il ripristino. Edge.js -> C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\src\double\Edge.js\bin\BPC\Release\netcoreapp1.1\EdgeJs.dll bootstrap -> C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\bootstrap\bin\BPC\Release\netcoreapp1.1\bootstrap.dll

Compilazione completata. Avvisi: 0 Errori: 0

Tempo trascorso 00:00:06.81


Error: The edge module has not been pre-compiled for node.js version v14.15.4. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions. at determineVersion (C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\edge.js:24:11) at Object. (C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\edge.js:36:102) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\tools\checkplatform.js:2:2) at Module._compile (internal/modules/cjs/loader.js:1063:30)


Success: platform check for edge.js: node.js x64 v14.15.4

ejs@2.7.4 postinstall C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\ejs node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool ( https://jakejs.com/)

electron@2.0.18 postinstall C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron node install.js

Downloading SHASUMS256.txt [============================================>] 100.0% of 5.39 kB (5.39 kB/s)

electron-edge-js-quick-start@1.0.0 postinstall C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master electron-builder install-app-deps

• electron-builder version=20.44.4 • loaded configuration file=package.json ("build" field) • rebuilding native production dependencies platform=win32 arch=x64 npm notice created a lockfile as package-lock.json. You should commit this file. added 342 packages from 242 contributors and audited 342 packages in 157.391s

11 packages are looking for funding run npm fund for details

found 0 vulnerabilities

On Tue, 19 Jan 2021 at 10:01, Roberto Federiconi r.federiconi@gmail.com wrote:

So I need to install: 1) nodejs for windows 2) net core which version? Sdk and runtime? 3) your QuickStart sample

Is correct?

On Mon, 18 Jan 2021 at 19:29, agracio notifications@github.com wrote:

Exactly the same

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762410601, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4H2JMC3EAGI6YRCDXDS2R4ZHANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

rfedericoni commented 3 years ago

Hi, there are a good news maybe.... I uninstalled mono from my mac and now the postinstall script seems to works:

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ rm -rf node_modules/ && npm install

edge-cs@1.2.1 install /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/edge-cs

node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

Microsoft (R) Build Engine versione 16.8.3+39993bd9d per .NET

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

electron-edge-js@12.18.5 install /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js

node tools/install.js

TOUCH Release/obj.target/edge_nativeclr.stamp

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:474:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute

../src/CoreCLREmbedding/coreclrfunc.cpp:487:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute

../src/CoreCLREmbedding/coreclrfunc.cpp:495:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute

../src/CoreCLREmbedding/coreclrfunc.cpp:496:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute

../src/CoreCLREmbedding/coreclrfunc.cpp:497:4: warning: ignoring return value of function declared with 'warn_unused_result' attribute

5 warnings 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(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

Individuazione dei progetti da ripristinare...

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp2.0' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]

/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj ripristinato (in 9,85 sec).

/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj ripristinato (in 12,78 sec).

ACTION binding_gyp_build_managed_target_compile_bootstrap lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll

Microsoft (R) Build Engine versione 16.8.3+39993bd9d per .NET

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

Individuazione dei progetti da ripristinare...

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp2.0' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]

Tutti i progetti sono aggiornati per il ripristino.

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

Edge.js -> /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/bin/Release/netcoreapp1.1/EdgeJs.dll

bootstrap -> /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bin/Release/netcoreapp1.1/bootstrap.dll

Compilazione completata.

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp2.0' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/bootstrap/bootstrap.csproj]

/usr/local/share/dotnet/sdk/5.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: il framework di destinazione 'netcoreapp1.1' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere https://aka.ms/dotnet-core-support. [/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/src/double/Edge.js/Edge.js.csproj]

Avvisi: 5

Errori: 0

Tempo trascorso 00:00:08.63

TOUCH Release/obj.target/build_managed.stamp

core-js@3.8.2 postinstall /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/core-js

node -e "try{require('./postinstall')}catch(e){}"

electron@11.2.0 postinstall /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron

node install.js

added 92 packages from 107 contributors and audited 92 packages in 70.108s

6 packages are looking for funding

run npm fund for details

found 0 vulnerabilities

╭─────────────────────────────────────────────────────────────────╮

│ │

│ New patch version of npm available! 6.14.10 → 6.14.11 │

│ Changelog: https://github.com/npm/cli/releases/tag/v6.14.11

│ Run npm install -g npm to update! │

│ │

╰─────────────────────────────────────────────────────────────────╯

iMac-di-Roberto:electron-edge-js-quick-start-master-2 robertofedericoni$ npm start

electron-edge-js-quick-start@1.0.0 start /Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2

electron --core .

CoreClrEmbedding::Initialize - Failed to initialize CoreCLR, HRESULT: 0x80070057

################################################################################

now the error is different in execution:

Uncaught TypeError: edge.initializeClrFunc is not a function at Object.exports.func (/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/node_modules/electron-edge-js/lib/edge.js:192) at Object. (/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/renderer.js:19) at Object. (/Users/robertofedericoni/Documents/develop/electron-edge-js-quick-start-master-2/renderer.js:68) at Module._compile (internal/modules/cjs/loader.js:1152) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173) at Module.load (internal/modules/cjs/loader.js:992) at Module._load (internal/modules/cjs/loader.js:885) at Function.f._load (electron/js2c/asar_bundle.js:5) at Module.require (internal/modules/cjs/loader.js:1032) at require (internal/modules/cjs/helpers.js:72)

On Tue, 19 Jan 2021 at 11:32, Roberto Federiconi r.federiconi@gmail.com wrote:

Hi , in windows version also the electron app doesn't load the .net core dll, here the installation output of windows version:

C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master>npm i npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported

edge-cs@1.2.1 install C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\edge-cs node tools/install.js

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione. Microsoft (R) Build Engine versione 16.7.0+7fb82e5b2 per .NET Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

MSBUILD : error MSB1003: specificare un file di progetto o di soluzione. La directory di lavoro corrente non contiene alcun file di progetto o di soluzione.

electron-edge-js@8.3.8 install C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js node tools/install.js

Individuazione dei progetti da ripristinare...

C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\bootstrap\bootstrap.csproj ripristinato (in 17,1 sec).

C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\src\double\Edge.js\Edge.js.csproj ripristinato (in 17,1 sec). Microsoft (R) Build Engine versione 16.7.0+7fb82e5b2 per .NET Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

Individuazione dei progetti da ripristinare... Tutti i progetti sono aggiornati per il ripristino. Edge.js -> C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\src\double\Edge.js\bin\BPC\Release\netcoreapp1.1\EdgeJs.dll bootstrap -> C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\bootstrap\bin\BPC\Release\netcoreapp1.1\bootstrap.dll

Compilazione completata. Avvisi: 0 Errori: 0

Tempo trascorso 00:00:06.81


Error: The edge module has not been pre-compiled for node.js version v14.15.4. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions. at determineVersion (C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\edge.js:24:11) at Object. (C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\lib\edge.js:36:102) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron-edge-js\tools\checkplatform.js:2:2) at Module._compile (internal/modules/cjs/loader.js:1063:30)


Success: platform check for edge.js: node.js x64 v14.15.4

ejs@2.7.4 postinstall C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\ejs node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool ( https://jakejs.com/)

electron@2.0.18 postinstall C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master\node_modules\electron node install.js

Downloading SHASUMS256.txt [============================================>] 100.0% of 5.39 kB (5.39 kB/s)

electron-edge-js-quick-start@1.0.0 postinstall C:\Users\r.federiconi\Documents\Develop\Electron-Edge\electron-edge-js-quick-start-master electron-builder install-app-deps

• electron-builder version=20.44.4 • loaded configuration file=package.json ("build" field) • rebuilding native production dependencies platform=win32 arch=x64 npm notice created a lockfile as package-lock.json. You should commit this file. added 342 packages from 242 contributors and audited 342 packages in 157.391s

11 packages are looking for funding run npm fund for details

found 0 vulnerabilities

On Tue, 19 Jan 2021 at 10:01, Roberto Federiconi r.federiconi@gmail.com wrote:

So I need to install: 1) nodejs for windows 2) net core which version? Sdk and runtime? 3) your QuickStart sample

Is correct?

On Mon, 18 Jan 2021 at 19:29, agracio notifications@github.com wrote:

Exactly the same

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762410601, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4H2JMC3EAGI6YRCDXDS2R4ZHANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

-- Roberto Federiconi

agracio commented 3 years ago

Did you run dotnet build src/QuickStart.sln? Please reply here on Github with correct message formatting, email messages cannot be formatted and are almost impossible to read here.

rfedericoni commented 3 years ago

No I didn’t.. once done it works! Thank you! I discovered that if you install visual studio for mac also mono is installed and the post install script fails

On Tue, 19 Jan 2021 at 14:14, agracio notifications@github.com wrote:

Did you run dotnet build src/QuickStart.sln? Please reply here on Github with correct message formatting, email messages cannot be formatted and are almost impossible to read here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762830568, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4DV5N3MVQ7WFHCNNCDS2WASXANCNFSM4WEDVZ6A .

-- Roberto Federiconi

rfedericoni commented 3 years ago

One more thing: if I have to distribute an electron application cross platform that use electron-edge I should run the compilation script in each PC during installation or I can install all binary files already built?

On Tue, 19 Jan 2021 at 14:17, Roberto Federiconi r.federiconi@gmail.com wrote:

No I didn’t.. once done it works! Thank you! I discovered that if you install visual studio for mac also mono is installed and the post install script fails

On Tue, 19 Jan 2021 at 14:14, agracio notifications@github.com wrote:

Did you run dotnet build src/QuickStart.sln? Please reply here on Github with correct message formatting, email messages cannot be formatted and are almost impossible to read here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/agracio/electron-edge-js/issues/102#issuecomment-762830568, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJZC4DV5N3MVQ7WFHCNNCDS2WASXANCNFSM4WEDVZ6A .

-- Roberto Federiconi

-- Roberto Federiconi

selvamM commented 3 years ago

@agracio we too facing the same issue in MAC environment for below sample

Quick Start Sample

agracio commented 3 years ago

Do you have Visual Studio for MacOs installed on you system?

selvamM commented 3 years ago

Yes we have Visual Studio 2019 for MAC installed

agracio commented 3 years ago

As per the thread above, VS installs a special version of Mono runtime that is incorrectly detected by Edge.Js. It will not function on a Mac with VS.

selvamM commented 3 years ago

@agracio So is that means it will work only on MAC without Visual Studio installed?

agracio commented 3 years ago

yes

selvamM commented 3 years ago

@agracio

We are getting same error in Linux as well. No VS in Linux environment

selvamM commented 3 years ago

@agracio Any updates ?