ricellis commented on issue #122: Error when initialized only from Bluemix(IBM 
Cloud) Runtime to IBM Cloudant
URL: https://github.com/apache/couchdb-nano/issues/122#issuecomment-487538828
 
 
   If you haven't resolved this already, check what version of Node.js is being 
used in both environments. The syntax being complained about:
   ```
   2018-09-11T10:49:28.39+0900 [APP/PROC/WEB/0] ERR 
/home/vcap/app/node_modules/nano/lib/nano.js:83
   2018-09-11T10:49:28.39+0900 [APP/PROC/WEB/0] ERR return function(err, 
response = { statusCode: 500 }, body = '') {
   2018-09-11T10:49:28.39+0900 [APP/PROC/WEB/0] ERR ^
   2018-09-11T10:49:28.39+0900 [APP/PROC/WEB/0] ERR SyntaxError: Unexpected 
token =
   ```
   is the syntax for "default function parameters", they are supported only 
with Node.js >= 6

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to