Code Monkey home page Code Monkey logo

Comments (11)

sayedihashimi avatar sayedihashimi commented on June 4, 2024

@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.

  1. brew update
  2. brew upgrade kvm
  3. kvm upgrade

from generator-aspnet.

sayedihashimi avatar sayedihashimi commented on June 4, 2024

@joelmartinez you still having this issue? I cannot reproduce it.

from generator-aspnet.

joelmartinez avatar joelmartinez commented on June 4, 2024

@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.

sayedihashimi avatar sayedihashimi commented on June 4, 2024

@davidfowl @loudej any idea what might be going on here? I can't reproduce it myself.

from generator-aspnet.

peterblazejewicz avatar peterblazejewicz commented on June 4, 2024

@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.

joelmartinez avatar joelmartinez commented on June 4, 2024

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.

peterblazejewicz avatar peterblazejewicz commented on June 4, 2024

@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.

joelmartinez avatar joelmartinez commented on June 4, 2024

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.

nosami avatar nosami commented on June 4, 2024

@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.

joelmartinez avatar joelmartinez commented on June 4, 2024

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.

peterblazejewicz avatar peterblazejewicz commented on June 4, 2024

@joelmartinez You're welcome!

from generator-aspnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.