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
{{ message }}
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.
I have a fresh install of Apigility. Having made a small number of DB-connected REST services in the Admin (worked fine), attempting to try out a basic deployment, I've run vendor/bin/zfdeploy.php build api.zip which yields:
Warning: include(C:\<PATH TO MY LOCAL SERVER ROOT>\<my app folder>\apigility\vendor\bi
n/../config/routes.php): failed to open stream:
No such file or directory in C:\<PATH TO MY LOCAL SERVER ROOT>\<my app folder>\apigility\vendor\bin\zfdeploy.php on line 31
InvalidArgumentException: Routes must be provided as an array or Traversable object in
C:\<PATH TO MY LOCAL SERVER ROOT>\<my app folder>\apigility\vendor\zfcampus\zf-console\src\Application.php
on line 91
(exact paths redacted ^)
In fact, just running vendor/bin/zfdeploy.php to check zf-deploy is installed ok is giving me that.
Seems like vendor/config/routes.php is not being found, though that seems like an odd place for it to look for that as routes.php actually resides in vendor/zfcampus/zf-deploy.
Previewing the API locally in Chrome>Postman works fine, so I think the issue is with zfdeploy or zf-console. Zfdeploy has previously worked for me, but now from a completely fresh installation, it refuses to build.
UPDATE: running zf-deploy in vendor/zfcampus/zf-deploy/bin WORKS, so this appears to be an issue with running it from vendor/bin.
The text was updated successfully, but these errors were encountered:
(Windows 7, WAMP running locally, PHP 5.5.12)
I have a fresh install of Apigility. Having made a small number of DB-connected REST services in the Admin (worked fine), attempting to try out a basic deployment, I've run vendor/bin/zfdeploy.php build api.zip which yields:
(exact paths redacted ^)
In fact, just running vendor/bin/zfdeploy.php to check zf-deploy is installed ok is giving me that.
Seems like vendor/config/routes.php is not being found, though that seems like an odd place for it to look for that as routes.php actually resides in vendor/zfcampus/zf-deploy.
Previewing the API locally in Chrome>Postman works fine, so I think the issue is with zfdeploy or zf-console. Zfdeploy has previously worked for me, but now from a completely fresh installation, it refuses to build.
UPDATE: running zf-deploy in vendor/zfcampus/zf-deploy/bin WORKS, so this appears to be an issue with running it from vendor/bin.
The text was updated successfully, but these errors were encountered: