Giter VIP home page Giter VIP logo

Comments (5)

kdrag0n avatar kdrag0n commented on July 24, 2024 1

Fixed for the next version. Thanks for the reproducer!

from orbstack.

slinorb avatar slinorb commented on July 24, 2024

Download old versions from: https://docs.orbstack.dev/downgrade

from orbstack.

ehaughee avatar ehaughee commented on July 24, 2024

Try at your own risk:

If OrbStack panics on startup after a downgrade saying downgrading is unsupported, delete the vmstate.json file in your .orbstack directory. For me on MacOS, that is $HOME/.orbstack/vmstate.json.

from orbstack.

kdrag0n avatar kdrag0n commented on July 24, 2024

Can you share steps or a sample project to reproduce, or a screenshot of the exact error message?

from orbstack.

lei-rs avatar lei-rs commented on July 24, 2024

Steps:

  1. Get cabal, on Nix its:
nix-shell -p cabal-install
  1. Create a cabal project from the vm, but with your cwd on mac side. I used my mac $HOME.
cabal init foo
  1. Run cabal build.
cabal build

This should be the error:

Error: cabal: There is no <pkgname>.cabal package file or cabal.project file.
To build packages locally you need at minimum a <pkgname>.cabal file. You can
use 'cabal init' to create one.

For non-trivial projects you will also want a cabal.project file in the root
directory of your project. This file lists the packages in your project and
all other build configuration. See the Cabal user guide for full details.

But for some reason cabal v1-build works. I should add, the above cabal error can be misleading, and not reflect the actual cause.

from orbstack.

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.