Giter Club home page Giter Club logo

Comments (5)

nikophil avatar nikophil commented on May 18, 2024 2

i'm having the same problem... shouldn't the server type (ie : windows or linux) be configurable ?

from easy-deploy-bundle.

The-Don-Himself avatar The-Don-Himself commented on May 18, 2024

Which linux flavour are you deploying to?

This command also fails for me at the exact same point to a centos 7.3 vps, but on further investigation I realised the where command on centos is actually whereis

$shellCommand = sprintf('%s %s', $this->isWindows() ? 'where' : 'which', $this->commandName);

https://github.com/EasyCorp/easy-deploy-bundle/blob/master/src/Requirement/CommandExists.php#L33

Replace where by whereis and things proceed as expected.

from easy-deploy-bundle.

waitxd avatar waitxd commented on May 18, 2024

I'm using Ubuntu Server, so which is enough for me.
But we can also use command -v {$this->commandName} or type -p {$this->commandName} as well.
Or use them as a fallback.

from easy-deploy-bundle.

ffouillet avatar ffouillet commented on May 18, 2024

Same problem ! Local OS is Windows, remote OS is Linux, which results in command not found error :-(.

from easy-deploy-bundle.

Adeptuce avatar Adeptuce commented on May 18, 2024

Same problem, any updates ?

from easy-deploy-bundle.

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.