Closed megastallman closed 4 years ago
Let me help myself on that issue:
$ find . -iname 'upward.yml' ./node_modules/@magento/venia-concept/dist/upward.yml ./node_modules/@magento/venia-concept/upward.yml
The file in "dist" directory has real content. The letter one - is just empty.
Hi guys! Trying to run the php upward connector(1.0.0) with Venia. I've added the right upward.yaml file to Magento Admin settings. It gives me the following on storefront page:
{"error":"No definition for veniaResponse.status"}
Ok, I've found that code and added a var_dump:object(Magento\Upward\Definition)#362 (3) { ["basepath":"Magento\Upward\Definition":private]=> string(52) "/srv/public_html/node_modules/@magento/venia-concept" ["treeAddress":"Magento\Upward\Definition":private]=> string(0) "" ["data":protected]=> array(3) { ["status"]=> string(20) "veniaResponse.status" ["headers"]=> string(21) "veniaResponse.headers" ["body"]=> string(18) "veniaResponse.body" } } {"error":"No definition for veniaResponse.status"}
It does read the yaml file. How are you using it at all? What else did I miss? Do I lack of any configuration?