Giter Club home page Giter Club logo

Comments (7)

abishekrsrikaanth avatar abishekrsrikaanth commented on May 13, 2024

@barryvdh , any update on this issue?

from laravel-ide-helper.

barryvdh avatar barryvdh commented on May 13, 2024

Sorry, forgot to reply. This is not a package issue, but you haven't do configured your environment correctly. Add your hostname to the config so it gets detected.

from laravel-ide-helper.

abishekrsrikaanth avatar abishekrsrikaanth commented on May 13, 2024

I do have the hostname setup on the environment correctly, but I still get the issue. All my other artisan commands work correctly without having to give the --env except for this.

from laravel-ide-helper.

barryvdh avatar barryvdh commented on May 13, 2024

Try php artisan env, and see if laravel uses the correct environment.
Op 25 okt. 2013 11:31 schreef "Abishek R Srikaanth" <
[email protected]>:

I do have the hostname setup on the environment correctly, but I still get
the issue.


Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-27076879
.

from laravel-ide-helper.

abishekrsrikaanth avatar abishekrsrikaanth commented on May 13, 2024

Yes, as mentioned above, I have to specify --env to get it working. and php artisan env gives the correct local environment name

from laravel-ide-helper.

barryvdh avatar barryvdh commented on May 13, 2024

No, I meant, run php artisan env as a command. It will tell you what Laravel detects as your current environment (local/production)
The IDE helper should respect the environment detected, so you probably have configured $app->detectEnvironment() in bootstrap/start.php incorrect.

from laravel-ide-helper.

abishekrsrikaanth avatar abishekrsrikaanth commented on May 13, 2024

Seemed like it is an issue on my computer. Thanks for the help..

from laravel-ide-helper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.