Hello @suhasiniravichandran
How did you install the installer? I looks like something went wrong because it need some missing files.
Addition you can try a composer global install
and/or a composer global update
to try to fix it.
Hello @tvbeek
I tried to install the laravel via composer global require "laravel/installer" , also i tried composer global install and composer global update but it gives the same error
Here is the more detailed log.
Changed current directory to /root/.config/composer Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Package operations: 13 installs, 0 updates, 0 removals
In ClassMapGenerator.php line 129:
Could not scan for classes inside "/root/.config/composer/vendor/symfony/polyfill-php73/Resources/stubs" which does not appear to be a
file nor a folder
It skipped the installation of bin folder when laravel installed, i don't know why. please help me to solve it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community