Comments (11)
@joelmartinez everything is working on my mac. Perhaps try upgrading the aspnet command line tools? If you've installed with brew you can do that with the following commands.
brew update
brew upgrade kvm
kvm upgrade
from generator-aspnet.
@joelmartinez you still having this issue? I cannot reproduce it.
from generator-aspnet.
@sayedihashimi Apologies for the delay in response ... holidays, et al :) Unfortunately, yes. I'm not really sure how to proceed as my system is obviously in some weird state. Running brew upgrade kvm
tells me, kvm-1.0.0-beta1 already installed
.
I suppose I'll have to figure out how to uninstall everything and see where I can go from here
from generator-aspnet.
@davidfowl @loudej any idea what might be going on here? I can't reproduce it myself.
from generator-aspnet.
@joelmartinez
Can you try if you can successfully restore any of sample projects from aspnet/Home project?
git clone https://github.com/aspnet/Home.git
cd Home/samples/HelloMvc
kpm restore
If you have all KRE dependencies installed it should install without a problem (at least that is my experience)
Running below from console and posting output could help others to help you fix a problem:
kvm list
from generator-aspnet.
Thanks for the tips @peterblazejewicz ... I'm getting the same error, unfortunately (same stack trace, but after OK https://www.nuget.org/api/v2/package/Kestrel/1.0.0-beta1 401ms
). Could it have something to do with the kestrel package?
The output of kvm list
:
cerebro:HelloMvc joelmartinez$ kvm list
Active Version Runtime Location Alias
------ ------- ------- -------- -----
* 1.0.0-beta1 Mono ~/.kre/packages default
As there's only one thing listed ... what else would you expect to be listed?
from generator-aspnet.
@joelmartinez
My lists (after upgrades):
kvm list
Active Version Runtime Location Alias
------ ------- ------- -------- -----
1.0.0-beta1 Mono ~/.kre/packages
1.0.0-rc1-10815 Mono ~/.kre/packages
* 1.0.0-rc1-10831 Mono ~/.kre/packages default
You should probably update your KRE:
dotnet/aspnetcore#185
This should work via kvm upgrade
and running it should upgrade your beta version, e.g.:
kvm upgrade
Determining latest version
Latest version is 1.0.0-rc1-10846
Downloading KRE-Mono.1.0.0-rc1-10846 from https://www.myget.org/F/aspnetvnext/api/v2
Installing to /Users/piotrblazejewicz/.kre/packages/KRE-Mono.1.0.0-rc1-10846
Adding /Users/piotrblazejewicz/.kre/packages/KRE-Mono.1.0.0-rc1-10846/bin to process PATH
Updating alias 'default' to 'KRE-Mono.1.0.0-rc1-10846'
you should be able to manully check given version:
kvm install 1.0.0-rc1-10846
from generator-aspnet.
Hmm, running kvm upgrade
gives me 'KRE-Mono.1.0.0-beta1'
$ kvm upgrade
Determining latest version
Latest version is 1.0.0-beta1
KRE-Mono.1.0.0-beta1 already installed.
Adding /Users/joelmartinez/.kre/packages/KRE-Mono.1.0.0-beta1/bin to process PATH
Updating alias 'default' to 'KRE-Mono.1.0.0-beta1'
And if I try to install the specific version you mentioned:
$ kvm install 1.0.0-rc1-10846
Downloading KRE-Mono.1.0.0-rc1-10846 from https://www.nuget.org/api/v2
KRE-Mono.1.0.0-rc1-10846 was not found in repository https://www.nuget.org/api/v2
Though, I guess by taking a look at the actual nuget package, beta1
is the latest one that I can see, and the one I have installed. Is there another nuget package source that I'm missing?
edit: actually, looks like I don't have the latest version of mono installed ... let me update that
$ mono --version
Mono JIT compiler version 3.4.1
from generator-aspnet.
@joelmartinez You need to be using the dev feeds if you want the latest packages. Looks like you're on the master feed.
curl https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh && source ~/.kre/kvm/kvm.sh
should set it up for you.
from generator-aspnet.
Awesome ... got rid of the custom version of mono I had at /usr/local/bin/mono
, and 3.10 fixed the problem. Thanks for the tip on #185, @peterblazejewicz :)
from generator-aspnet.
@joelmartinez You're welcome!
from generator-aspnet.
Related Issues (20)
- Remove 'usersecrets` subgenerator for RC HOT 1
- Update Docker template content for 2017RC HOT 1
- Update global.json generator/template for VS2017 RC HOT 1
- How to create controller in vscode using yo HOT 2
- [Possible Bug] Can't seem to run Yeoman generate project on Heroku HOT 10
- Can find project.json inside of new project HOT 18
- Log off should be Logout in mvc template
- Cant project in visual studio HOT 2
- The target "Restore" does not exist in the project HOT 2
- The specified framework 'Microsoft.NETCore.App', version '1.0.4' was not found HOT 5
- Subgenerators are not available HOT 5
- Can not bundle Js and css file in aspcore/angular2 HOT 2
- How to install previous generators HOT 1
- Bower is deprecated HOT 3
- double '<' character in csproj files HOT 1
- Error when using --version-current HOT 2
- Upgrade project templates to .NET Core 2.0 HOT 2
- Can't install generator-aspnet
- Sematic UI template - Index.cshtml content still has "ASP.NET MVC 5" or "ASP.NET 6" naming reference HOT 1
- Deprecate generator-aspnet package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-aspnet.