Hello there, I'm new on this forum but I'm optimistic my problems will be solved. I installed Laravel 11.10.0 on Windows 11 and also a PHP v8.2.12. Each time I tried the "composer require laravel/jetstream" command, I get an error in the form of "In RequireCommand.php line 155:", followed by the warning: file_put_contents(C:\ProgramData\ComposerSetup\bin): Failed to open stream: Permission denied. There is also a bunch of text in green: require [--dev] [--dry-run] [--prefer-source] ... [<packages>...]. I am stuck. Please help. Thanks.
Try
To be honest it sounds like a permission error.
Do you have write permissions on the paths that are part of the error for file_put_contents?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community