You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple site that I'd like to build as a set of static page. It's failing when trying to generate the API platform routes, and I'm not sure how to exclude them. Obviously API Platform is going to require an actual server, but I think the issue is with the documentation, which ideally would work with static files. Regardless, I would like to be able to exclude it so the rest of the site builds.
"channel":"console","datetime":"2023-11-06T16:53:17.709953+00:00","extra":{}}
16:53:17 CRITICAL [console] Error thrown while running command "-e prod stenope:build './public/static'". Message: "Could not build url http://localhost/api/index.jsonopenapi." ["exception" => Exception { …},"command" => "-e prod stenope:build './public/static'","message" => "Could not build url http://localhost/api/index.jsonopenapi."]
{"message":"Command \"-e prod stenope:build './public/static'\" exited with code \"1\"","context":{"command":"-e prod stenope:build './public/static'","code":1},"level":100,"level_name":"DEBUG","channel":"console","datetime":"2023-11-06T16:53:17.715661+00:00","extra":{}}
In Builder.php line 386:
Could not build url http://localhost/api/index.jsonopenapi.
I have a simple site that I'd like to build as a set of static page. It's failing when trying to generate the API platform routes, and I'm not sure how to exclude them. Obviously API Platform is going to require an actual server, but I think the issue is with the documentation, which ideally would work with static files. Regardless, I would like to be able to exclude it so the rest of the site builds.
Here's the bash commands to create the problem.
The text was updated successfully, but these errors were encountered: