Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET core isnt installed even though it is #2

Open
itzTheMeow opened this issue Nov 23, 2021 · 3 comments
Open

.NET core isnt installed even though it is #2

itzTheMeow opened this issue Nov 23, 2021 · 3 comments

Comments

@itzTheMeow
Copy link

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:
image
.net 5 and 6 are both installed:
image

that's with this package version: 1.0.1-xx

@sxxov
Copy link
Owner

sxxov commented Nov 25, 2021

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
Copy link
Author

installed using this link, had to uninstall 5 and 6 to get it to install
this is what is installed:
image

also attempted to install it with buildtools, closest version was 4.7
image
doesnt show up in programs list though
same error
image

@sxxov
Copy link
Owner

sxxov commented Dec 19, 2021

@itzTheMeow

apologies for the confusion & late reply, this should fix the issue:

  1. run the following in a terminal
dotnet --info
  1. 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])
  2. 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 (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants