Giter Site home page Giter Site logo

Comments (3)

michaellzc avatar michaellzc commented on June 16, 2024

would you provide more detail about your environment? such as OS version, browsers installed in your VM, etc. I am assuming you're running it on the new M1 MacBook?

from better-opn.

mmunte-impeo avatar mmunte-impeo commented on June 16, 2024

Hi, yes you are right - this is on a M1 Mac running Parallels 16 preview.

inside the VM:
Windows 10 pro insider
Build 21327 prerelease 210226-1427
Chrome 89.0.4389.82

I hope this helps

from better-opn.

michaellzc avatar michaellzc commented on June 16, 2024

When running on OS other than macOS, better-opn actually fallbacks to good old plain open, learn more from https://github.com/ExiaSR/better-opn/blob/master/src/index.js#L109

I noticed a few issues and PRs related to windows or powershell were closed in upstream, so the issue you experience may have been fixed already. I didn't really look into these issues, so I could be wrong.

Would you try installing the latest v3 release which uses the latest open package? I tested it on a Windows VM using parallel and it works fine. It's x86 tho, I don't have direct access to an M1 MacBook 😞

Please let me know if the issue still persists and provide more information. Unless our strategy to guess the current OS is wrong, we will need to open an issue in open. Therefore, I suggest taking another look at their repo if thing is still not working.

  • what "shell" are you running? such as WSL, WSL2, PowerShell, or cygwin (Is it still a thing)

from better-opn.

Related Issues (13)

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.