GithubHelp home page GithubHelp logo

Comments (4)

jrushlow avatar jrushlow commented on July 16, 2024 1

Hmm, that looks interesting. I'm not familiar with ddev aside from knowing it's a docker based dev environment. It sounds like it's using either an outdated || "too new" version of nikic/php-parser.

I'm not able to reproduce this locally on a fresh symfony --webapp against PHP 8.3. Can you create a https://gist.github.com/ containing your composer.lock file and the require && require-dev sections of your composer.json

After creating the gist of your composer.lock && composer.json try the following:

  • run composer outdated and show the output here.
  • run composer upgrade -W to make sure you're on the latest and greatest versions
  • run composer dump-autoload && bin/console cache:clear and see if you're getting the same error with the make:entity

from maker-bundle.

jrushlow avatar jrushlow commented on July 16, 2024 1

Awesome! Glad to hear that..

For anyone else that stumbles onto this problem - this was a cache issue. Composer already had the latest version (as of 4/19/24) of nikic/php-parser (5.0.2 per composer.lock) && symfony/maker-bundle (1.58.0 per composer.lock)

Clear the cache by running: composer dump-autoload then bin/console cache:clear

from maker-bundle.

brianvarskonst avatar brianvarskonst commented on July 16, 2024

Thank you, for the fast response and help.

The suggested steps from you, resolved the issue for me.

After creating the gist of your composer.lock && composer.json try the following:

run composer outdated and show the output here.
run composer upgrade -W to make sure you're on the latest and greatest versions
run composer dump-autoload && bin/console cache:clear and see if you're getting the same error with the make:entity

Here is the gist (which I created before I run the steps you suggested): https://gist.github.com/brianvarskonst/8fdcf710f7c2d03357d706930942a442

Also a screenshot from the suggested steps:
image

from maker-bundle.

brianvarskonst avatar brianvarskonst commented on July 16, 2024

Solved

from maker-bundle.

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.