.NET core isnt installed even though it is
itzTheMeow opened this issue · 3 comments
itzTheMeow commented
I ran set COREHOST_TRACE=1
as well
Error:
Load edge native library from: \node_modules\windows-ss\dist\native\win32\x64\16.6.0\edge_coreclr
CoreClrEmbedding::Initialize - Could not resolve CoreCLR path. For more details, enable tracing by setting COREHOST_TRACE environment variable to 1
node:internal/process/esm_loader:74 internalBinding('errors').triggerUncaughtException(
^
Error: This is not a published, standalone application and we are unable to locate the .NET Core SDK. Please make sure that it is installed; see http://microsoft.com/net/core for more details.
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (\node_modules\windows-ss\dist\index.js:105:10)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
the edge_coreclr is there:
.net 5 and 6 are both installed:
that's with this package version: 1.0.1-xx
sxxov commented
edge-js
(which this package depends on) seems to be expecting .NET <5. Could you try installing .NET 4.5 & letting me know if it works? If yes, I'll add that to the documentation, or see what I can fix.
itzTheMeow commented
installed using this link, had to uninstall 5 and 6 to get it to install
this is what is installed:
also attempted to install it with buildtools, closest version was 4.7
doesnt show up in programs list though
same error
sxxov commented
apologies for the confusion & late reply, this should fix the issue:
- run the following in a terminal
dotnet --info
- ensure under ".NET runtimes installed:", that a version of
Microsoft.AspNetCore.App
is installed (eg.Microsoft.AspNetCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
) - if there isn't a version of .NET Core (not .NET Framework) installed, you may download the runtime here (at the time of writing, it is under ".NET Core 3.1")
do let me know if this resolves the issue (: