-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi there,
I have an issue setting up this Symfony Storybook build on my Windows 11 machine. I've run all the necessary dependencies, I have PHP 8.3 and my PATH is pointing to the correct path under Environment Variables. I am able to run the Symfony server, but when I run Storybook I keep getting an error:
=> Failed to build the preview
Error: Symfony console failed with exit status 1:
CMD: 'php' 'bin/console' 'debug:container' '--parameter=kernel.project_dir' '--format=json' '-v'
Output:
Error output: ''php'' is not recognized as an internal or external command,
operable program or batch file.
at <anonymous> (.\vendor\sensiolabs\storybook-bundle\storybook\dist\server\framework-preset.js:54:251)
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:337:12)
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
I've tried quite a few fixes:
- Created a new Symfony / Storybook repo from scratch.
- Reinstalled PHP v8.3 and checked my Environment Variables (under both system and user).
- Installed WAMP and ran from that PHP version.
- Installed XAMPP and ran from that PHP version.
- Uninstalled both WAMP and XAMPP to see if those caused issues.
- I also tried the latest PHP (v8.4).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels