Comments (7)
Well, you have a typo in your command. It has to be IGDBLaravel
, not IGDB-Laravel
:
php artisan vendor:publish --provider="MarcReichel\IGDBLaravel\IGDBLaravelServiceProvider"
from igdb-laravel.
@marcreichel, thank you so much for the quick response,
unfortunately the typo was made while writing the question not how I was actually running the command, so I am still facing this issue.
Even more strange is that the package does not appear while running php artisan vedor:publish
either
but it is there when running php artisan package:discover
manually creating igdb.php file in config folder has no effect nor does adding the credentials in .env
I have edited the files in vendor folder with my credentials just to test it out and that makes the package work flawlessly.
Please let me know if I could provide you with any more details
from igdb-laravel.
No worries, this sounds like you have cached your configuration with php artisan config:cache
. Please try clearing your config cache with php artisan config:clear
and then try again publishing the config. Then the credentials in your .env
file should work as well because the .env
is not used while the config is cached.
Feel free to get back to me if this does not do the trick.
from igdb-laravel.
I had already tried that and it does not solve the issue. I have re-checked just in case, but the problem persists.
from igdb-laravel.
Update, although I can still not publish the resource automatically, manually creating the igdb.php file in config folder works after I have cleared the cache.
If no one else mentioned this issue then it might be something with my project specifically, so mark this as complete.
@marcreichel thank you so much for your support
from igdb-laravel.
Okay, happy to help (at least half way through 😅).
I will look into this issue with your provided versions though just to be sure if it's a general problem or not 👍🏼
So I leave it open for now 👍🏼
from igdb-laravel.
@paishin So, just to give you an update: I've created a fresh test project with Laravel v6.20.27 and installed this package with version 2.1.1 and I was able to publish the config file with php artisan vendor:publish --provider="MarcReichel\IGDBLaravel\IGDBLaravelServiceProvider"
. So it seems to not be a problem with this package you've faced but with your project somehow.
Are you able to publish config files (or views e.g.) from other packages?
from igdb-laravel.
Related Issues (20)
- Generate cover Array HOT 2
- Where do i place "Game::createWebhook"? HOT 3
- Add more info in the Readme on how to search with "Like" HOT 8
- Laravel HTTP request returned status code 401 "Authorization Failure" HOT 5
- Webhooks CLI not working HOT 6
- Platform Logos HOT 1
- How to access $event name in webhooks HOT 2
- IGDB webhooks not working suddenly HOT 9
- HTTP request returned status code 400: [ { "title": "Syntax Error", "status": 400 } ] HOT 1
- 401 Error with Token HOT 6
- title": "Syntax Error" HOT 5
- Only get official releases HOT 1
- Error when setting up relationships between IGDBLaravel\Models and regular Models HOT 6
- Multiple Models missing HOT 1
- Game cover give me an array instead an object HOT 4
- Call to a member function getUrl() on array HOT 2
- Feature Request: Add Event Endpoint HOT 7
- Weird issue after the update to 4.1.0 HOT 4
- Extracting a list of available platforms HOT 1
- Access token refresh HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from igdb-laravel.