-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Aurelia CLI compatibility error with .NET Core 2.2 #1081
Comments
You're getting that error because you don't have a .Net Core SDK version installed that is compatible with the one specified in the The problem is they have to pick a version of .NET Core, and pin it in the |
Just delete global.json and change the settings in your project to the version of core you want to run. There is also the option of the dotnet template.
Then dotnet new Aurelia in the folder you want to spin up
|
@brandonseydel I setup an ASP.Net project using 2.2.105. According to the aurelia docs, The cli should have installed aurelia overtop of this and had an error. And, to make it more confusing. It says the aurelia CLI server is on Port 8080 but it also tells you it is listening on https://localhost:5001 and http://localhost:5000 of which neither is listening. Anyway, thanks for the info. It was helpful. |
The cli server is on port 8080 the website is running on 5001/5000 and using a reverse proxy for dev. The dotnet template doesn't use MVC to support the application only html/js and webapi. The more standard approach in modern web apps. |
I'm submitting a bug report
aurelia CLI v1.0.0-beta.15
Please tell us about your environment:
Operating System:
Windows 7
Node Version:
10.15.2
NPM Version:
6.8.0
Browser:
all
Language:
all
Loader/bundler:
Webpack
Current behavior:
Uncaught promise rejection:
A compatible SDK version for global.json version : [2.1.500] from [project directory\global.json] was not found
Did you mean to run dotnet SDK commands? Please install dotnet SDK from: url
.Net SDK 2.2.105 is installed
created empty web project in VS2017 (Tried an ASP .NET MVC template as well. same issue)
Ran from CLI: au new --here
CLI options:
1 - Default
2 - Default
3 - ASP .NET Core
4 - Typescript
5 - Default
6 - default
7 - default
8 - default
9 - 5 No Code Editor markup
10 - 2 navigation
Current directoy is not empty Create in this folder? Yes
Install Project dependencies? Yes
Error occurs at the end of dependency installation along with 1 high severity vulnerability. au run will serve the project to local host 5000
Installation should occur with no errors and no vulnerability issues.
The text was updated successfully, but these errors were encountered: