GithubHelp home page GithubHelp logo

Comments (6)

kunring avatar kunring commented on June 16, 2024 1

Might be part of the problem, this file seems highly sus: https://github.com/iamcco/markdown-preview.nvim/blob/master/app/install.cmd .cmd usually contains cmd.exe commands (like in .bat files). But this file has Powershell commands in it. cmd.exe and Powershell are not compatible. If this script is supposed to run Powershell commands, it needs to have a .ps1 extension instead.

The first line of the file invokes powershell with the rest of the contents of the file and exits.

from markdown-preview.nvim.

kmoschcau avatar kmoschcau commented on June 16, 2024

Might be part of the problem, this file seems highly sus: https://github.com/iamcco/markdown-preview.nvim/blob/master/app/install.cmd
.cmd usually contains cmd.exe commands (like in .bat files). But this file has Powershell commands in it. cmd.exe and Powershell are not compatible. If this script is supposed to run Powershell commands, it needs to have a .ps1 extension instead.

Could you try to rename that file in your local copy and also change this line to say install.ps1 instead?

from markdown-preview.nvim.

AndreM222 avatar AndreM222 commented on June 16, 2024

Well, the thing is it did work before when I had some files in different folders. Now that I fully moved to lazy from my old packer setup it is not working anymore. I will try it out.

from markdown-preview.nvim.

AndreM222 avatar AndreM222 commented on June 16, 2024

I still have the problem. is there any prerequisite for windows powershell?
It does work if I use npm or yarn for this but I am trying to make my setup dependency free.

from markdown-preview.nvim.

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.