Command failed with ENOENT: deployer.phar
See original GitHub issueI get this error :
Error: Command failed with ENOENT: deployer.phar deploy prod -f .github/deploy.php
spawnSync deployer.phar ENOENT
More verbose error message would be welcomed.
deploy.yml :
name: Deploy to Production
on:
push:
branches:
- 'master'
jobs:
deploy:
name: Deploy code to prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Deploy
uses: deployphp/action@master
with:
private-key: ${{ secrets.PRIVATE_KEY }}
known-hosts: ${{ secrets.KNOWN_HOSTS }}
dep: deploy prod -f .github/deploy.php
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:10 (5 by maintainers)
Top Results From Across the Web
deployphp/deployer - Gitter
Hello guys, I'm new to deployer. I tried running dep deploy testing but i'm getting this error.
Read more >deployphp - Bountysource
Error: Command failed with ENOENT: deployer.phar deploy prod -f .github/deploy.php spawnSync deployer.phar ENOENT. More verbose error message would be ...
Read more >Kudu deployment failing - can't find node or bcmath
I removed the Node commands in my Kudu script and it still failed now complaining that PHP extension bcmath couldn't be found. Composer...
Read more >PHP Parse error on gulp default for mibew live chat-node.js
... the file gulpfile.js and put the file composer.phar in the same directory and strated again with "gulp default" from command line and......
Read more >Untitled
IOException: Cannot run program "docker": error=2, No such file or ... and I was confused. env' uncaught error: enoent: no such file or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@neidiom can you give an example of how you are running
composer require deployer/deployer --dev
? I cannot seem to get this to work, still running into the “failed with ENOENT” errors.I had the same problem, created fork and opened pull request, you can check it https://github.com/zivan/action