Aurelia CLI compatibility error with .NET Core 2.2
- Dominant language
- JavaScript
- Stars
- 402
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
**I'm submitting a bug report**
* **Library Version:**
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
* **What is the expected behavior?**
.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
* **What is the motivation / use case for changing the behavior?**
Installation should occur with no errors and no vulnerability issues.
Contributor guide
Research direction
Reproduce the issue with `au new --here` in the described ASP.NET Core project setup and the `global.json` containing SDK version 2.1.500. Inspect the CLI's ASP.NET Core project-generation and dependency-installation path; done means dependency installation completes without the SDK compatibility error, while verifying the reported vulnerability separately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, webpack
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100