Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10081

[Node.js] Try-It-Now Node.js example not working due to missing Index

    XMLWordPrintable

Details

    Description

      https://docs.couchbase.com/nodejs-sdk/current/hello-world/start-using-sdk.html

      The current try-it-now example (Local Couchbase Server) fails because we are using the tenant_agent_00 scope to query data, which doesn't seem to have indexes setup in travel-sample bucket, unlike the inventory one which does.
      The code does attempt to create the index, but it obviously takes time to do so.

      To ensure our example can run successfully if a user tries to run it we should probably use the inventory scope to avoid any errors or waiting for indexes to be created.

      We should try to avoid burdening users with having to create indexes in a "Getting Started" guide, the experience should be easy and frictionless at this learning stage.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            maria.shodunke Maria Shodunke (Inactive)
            maria.shodunke Maria Shodunke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty