We need to update the README.md file to provide instructions on how to install the PHP WebPortal.
Installation
The correct way is to do a git clone.
If instead of a git clone you download the ZIP of the repository uncompressing it under the wamp directory, then It the graphQL queries don't work and give this error:
( ! ) Notice: Trying to get property 'data' of non-object in D:\Sage\wamp64\www\sagex3-issue\GraphQL\PurchaseOrder.php on line 196
And if we capture the response we obtain this:
Put your HTML text here
SyntaxError: Unexpected token
in JSON at position 76
at JSON.parse (<anonymous>)
at parse (D:\Sage\SafeX3\X3-services\node_modules\body-parser\lib\types\json.js:89:19)
at D:\Sage\SafeX3\X3-services\node_modules\body-parser\lib\read.js:121:18
at invokeCallback (D:\Sage\SafeX3\X3-services\node_modules\raw-body\index.js:224:16)
at done (D:\Sage\SafeX3\X3-services\node_modules\raw-body\index.js:213:7)
at IncomingMessage.onEnd (D:\Sage\SafeX3\X3-services\node_modules\raw-body\index.js:273:7)
at IncomingMessage.emit (events.js:412:35)
at IncomingMessage.emit (domain.js:475:12)
at endReadableNT (internal/streams/readable.js:1333:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
Troubleshooting graphQL
Explain in the README that you can enable this line to get the complete GraphQL response in the browser console.
We need to update the README.md file to provide instructions on how to install the PHP WebPortal.
Installation
The correct way is to do a git clone.
If instead of a git clone you download the ZIP of the repository uncompressing it under the wamp directory, then It the graphQL queries don't work and give this error:
( ! ) Notice: Trying to get property 'data' of non-object in D:\Sage\wamp64\www\sagex3-issue\GraphQL\PurchaseOrder.php on line 196
And if we capture the response we obtain this:
Troubleshooting graphQL
Explain in the README that you can enable this line to get the complete GraphQL response in the browser console.