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

artisan vendor:publish do not publish related files #24

Closed
saeedmie85 opened this issue Mar 31, 2017 · 8 comments
Closed

artisan vendor:publish do not publish related files #24

saeedmie85 opened this issue Mar 31, 2017 · 8 comments

Comments

@saeedmie85
Copy link

In boot method on LaradropServiceProvider.php there is some file address than a need to publish.
when I use 'artisan vendor:publish' these files do not publish on a related directory.
please help me to fix this problem.

@jasekz
Copy link
Owner

jasekz commented Mar 31, 2017

@saeedmie85 Can you post the error you're seeing?

@saeedmie85
Copy link
Author

@jasekz I don't see any error when running the 'artisan vendor:publish'. I see following comment after running that command.
Warning: Module 'openssl' already loaded in Unknown on line 0
Copied Directory [\vendor\laravel\framework\src\Illuminate\Notifications\resources\views] To [\resources\views\vendor\notifications]
Copied Directory [\vendor\laravel\framework\src\Illuminate\Pagination\resources\views] To [\resources\views\vendor\pagination]
Copied Directory [\vendor\arcanedev\log-viewer\resources\views] To [\resources\views\vendor\log-viewer]
Copied Directory [\vendor\arcanedev\log-viewer\resources\lang] To [\resources\lang\vendor\log-viewer]
Copied Directory [\vendor\yajra\laravel-datatables-oracle\src\resources\views] To [\resources\views\vendor\datatables]
PHP Warning: Module 'openssl' already loaded in Unknown on line 0
Publishing complete for tag []!

There is not any file from jasekz/laradrop package. I except the "laradrop.php" copy to "config" folder
and "migrations" directory copy to the "database" directory and "/resources/assets" folders copy to 'vendor/jasekz/laradrop'
but this will not happen.

@jasekz
Copy link
Owner

jasekz commented Mar 31, 2017

Can you verify that:

  1. vendor/jasekz/laradrop/src/Jasekz/Laradrop exists and contains all the necessary file/directories in your app's vendor dir
  2. you have added 'Jasekz\Laradrop\LaradropServiceProvider' to your config/app.php providers

@saeedmie85
Copy link
Author

saeedmie85 commented Mar 31, 2017

@jasekz yes
C:/xampp/htdocs/laravel/laravel/myapp/vendor/jasekz/laradrop/src/Jasekz/Laradrop

is exists and contains all the necessary file/directories in my app's vendor dir
And I added 'Jasekz\Laradrop\LaradropServiceProvider' to my config/app.php providers
but my issue still exists. Perhaps it is necessary that noticed I use Laravel 5.3

@jasekz
Copy link
Owner

jasekz commented Mar 31, 2017

Your Laravel version shouldn't be the issue, provided it it's L5. I can not recreate the problem, but my suggestion would be to do a fresh Laravel install and try with that. Sorry, I'm not able to debug this any further without working in your environment.

@saeedmie85
Copy link
Author

Thank you very much, I will try to fix that.

@saeedmie85
Copy link
Author

I fixed the issue.
first, i run this command.
php artisan config:clear
then retry
php artisan vendor:publish

@jasekz
Copy link
Owner

jasekz commented Apr 2, 2017

Awesome.

@jasekz jasekz closed this as completed Apr 2, 2017
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