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

Doesn't run #32

Closed
jechaviz opened this issue Jul 24, 2024 · 4 comments · Fixed by #34
Closed

Doesn't run #32

jechaviz opened this issue Jul 24, 2024 · 4 comments · Fixed by #34
Labels
bug Something isn't working

Comments

@jechaviz
Copy link

Doesn't run:

Steps:

  • composer global require bootstrapguru/droid
    got:
    Changed current directory to C:/Users/jesus/AppData/Roaming/Composer ./composer.json has been updated
    Running composer update bootstrapguru/droid
    Loading composer repositories with package information
    Updating dependencies
    Nothing to modify in lock file
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Nothing to install, update or remove
    Generating autoload files
    33 packages you are using are looking for funding.
    Use the composer fund command to find out more!
    No security vulnerability advisories found.
    Using version ^1.1 for bootstrapguru/droid
  • dexor
    got:
    Warning: Undefined array key "HOME" in phar://C:/Users/jesus/AppData/Roaming/Composer/vendor/bootstrapguru/droid/builds/dexor/config/database.php on line 37 Warning: Undefined array key "HOME" in phar://C:/Users/jesus/AppData/Roaming/Composer/vendor/bootstrapguru/droid/builds/dexor/config/filesystems.php on line 12 Warning: Undefined array key "HOME" in phar://C:/Users/jesus/AppData/Roaming/Composer/vendor/bootstrapguru/droid/builds/dexor/config/filesystems.php on line 16 In database.php line 37: Undefined array key "HOME"
    Other data:
    OS: Windows 10
    Terminal: cmd
    PHP 8.3.9
    Version: bootstrapguru/droid v1.1
@vijaythecoder
Copy link
Contributor

vijaythecoder commented Jul 26, 2024

Good news! We've implemented a fix for this issue.

A pull request has been created to address the problem with running the application on Windows due to the undefined 'HOME' environment variable. The fix implements cross-platform home directory detection to ensure compatibility with both Unix-like systems and Windows.

You can find the pull request here: #34

Ps: This comment and also the PR is completely created by Dexor.

@jechaviz
Copy link
Author

jechaviz commented Jul 26, 2024

What would be the procedure to update with the new change?
I tried
composer global remove bootstrapguru/droid
composer global require bootstrapguru/droid
but wasn't updated.

Thanks for your help.

@vijaythecoder
Copy link
Contributor

vijaythecoder commented Jul 29, 2024

The PR is currently merged to https://github.com/bootstrapguru/dexor/tree/dev-1.1.1 I am planning to release after some testing, hopefully by end of this week (~ Jul 6) If you want to get it sooner or help test this bug, you can follow the instructions below.

  • Download the file: dexor.zip
  • Unzip and then move the file to the composer global bin directory
  • After that, you should be able to run dexor in any directory and use the tool.
    If the global path doesn't work, temporarily you can copy the file to the project and then run php dexor

Keep me posted if it works or not, I don't have access to windows machine at the moment, so I need your help with the testing for this bug.

@vijaythecoder
Copy link
Contributor

@jechaviz did you get a chance to test the new build?

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
Development

Successfully merging a pull request may close this issue.

2 participants