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

Unable to repack application with Castor 0.18.0 #512

Closed
arnolem opened this issue Aug 31, 2024 · 2 comments
Closed

Unable to repack application with Castor 0.18.0 #512

arnolem opened this issue Aug 31, 2024 · 2 comments

Comments

@arnolem
Copy link
Contributor

arnolem commented Aug 31, 2024

After updating the application from Castor 0.17.1 to 0.18.0, it is no longer possible to build the application.

vendor/bin/castor repack
Box version 4.4.0@b7e493d 2023-10-11 20:47:53 UTC

 // Loading the configuration file ".box.json".                                 
 [ERROR] The configuration file is invalid.                                     

In Assert.php line 1012:
  "directories" must contain a list of existing directories. Could not find "  
  /projets/pere-castor/.castor". 

In Process.php line 270:                                                                                          
The command "'/usr/sbin/box' 'compile' '--config=.box.json'" failed.
@arnolem
Copy link
Contributor Author

arnolem commented Aug 31, 2024

The issue is resolved if I create the .castor folder, but is it normal that it is required since version 0.18.0?

lyrixx added a commit that referenced this issue Sep 3, 2024
fix(#512): repack command work without .castor folder
@lyrixx
Copy link
Member

lyrixx commented Sep 3, 2024

Fixed by #513

@lyrixx lyrixx closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants