PS : I tried to work with 3.1.3 and was fine at first (node version 12.x) but then I downgraded to Node 8.x and got the exact same issue.
Environment
MacOS
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:
Brett Lawson May 10, 2021 at 4:23 PM
Marking this as done. Node.js 8 is EOL, and SDK 3.1.x incorrect indicates that it supports 8 when it should not have. SDK 3.2.x has already been updated to no longer indicate support for 8. We likely won't make a backported change to 3.1.x to indicate this support change though.
Done
Pinned fields
Click on the next to a field label to start pinning.
SDK 3.1.3 Dependency bumped up parse-duration library to be greater than 1.0.0
but looks like the underlying node runtime version 8.x doesn't work well with this library version. Also node 8.x has reached EOL and is not supported
https://blog.risingstack.com/update-nodejs-8-end-of-life-no-support/
Look at the forum post for more details
https://forums.couchbase.com/t/node-sdk-v3-1-3-error-package-parse-duration/30412/2
PS : I tried to work with 3.1.3 and was fine at first (node version 12.x) but then I downgraded to Node 8.x and got the exact same issue.