Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File "./composer.json" cannot be found in the current directory #246

Closed
mxr576 opened this issue Aug 21, 2023 · 2 comments
Closed

File "./composer.json" cannot be found in the current directory #246

mxr576 opened this issue Aug 21, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mxr576
Copy link

mxr576 commented Aug 21, 2023

Description

I keep seeing the above message in build logs, see details below.

Run ramsey/composer-install@2.2.0
Run ${GITHUB_ACTION_PATH}/bin/php_version.sh
Run ${GITHUB_ACTION_PATH}/bin/should_cache.sh ""
Run ${GITHUB_ACTION_PATH}/bin/composer_paths.sh
${GITHUB_ACTION_PATH}/bin/composer_paths.sh
""
"....."
"/usr/bin/php"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
COMPOSER_PROCESS_TIMEOUT: 0
COMPOSER_NO_INTERACTION: 1
COMPOSER_NO_AUDIT: 1
CACHE_RESTORE_KEY: Linux-php-8.1.21-composer-locked-......

In ConfigCommand.php line 217:

File "./composer.json" cannot be found in the current directory

config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [-j|--json] [-m|--merge] [--append] [--source] [--] [ [...]]

Steps to reproduce

Expected behavior

Screenshots or output

Environment details

IMO N/A

Additional context

@mxr576 mxr576 added the bug Something isn't working label Aug 21, 2023
mxr576 added a commit to mxr576/composer-install that referenced this issue Aug 21, 2023
@onyxmueller
Copy link

Seeing the same issue.

@ramsey
Copy link
Owner

ramsey commented Feb 28, 2024

Fixed in 2.3.0

@ramsey ramsey closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants