Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6687437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:17:19+00:00 2026-05-26T05:17:19+00:00

In Node, using Express and Cradle, I have a call to a _list that

  • 0

In Node, using Express and Cradle, I have a call to a _list that does not work. Other calls go to _view and work fine. The Cradle documentation does not include a section on _list but it seems from this GitHub readme that it is supposed to work just like _view.

My code looks like:

if(isList){
    db.list(couch_url, function (err, res) {
        if(err){
            console.log("error couchdb list", err);
        }else{
            //console.log(res);
            callback(JSON.stringify(res));
        }
    });     
}

The couch_url variable is just the regular http request and looks like: myCouch/_design/Model3D/_list/convert/All except the path designators (_design, _view, _list) have been removed to get Model3D/convert/All for Cradle (it looks like they are put back in the Cradle function). That full path represented by couch_url will work in other CouchDB connections, and like I said, the Cradle view function works fine.

The error object I get is:

{ stack: [Getter/Setter],
    arguments: [ 'ILLEGAL' ],
    type: 'unexpected_token',
    message: [Getter/Setter] }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:17:20+00:00Added an answer on May 26, 2026 at 5:17 am

    Check the list function you are using – it is highly likely to be producing broken JSON.
    In my case, I was getting a result of ‘undefined’ for a property. Anything undefined should be dropped, and all property names should be in quotes

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Node.js app using Express that stores data in a mongoDB (locally).
I have a Node.js Express app that I'm hosting on Nodejitsu. I'm already using
I have the following XPATH line: //det[@nItem=1]/prod/cProd That successfully selects the desired node using
I can set the Treeview selected node using code, but it's appearance does not
I'm using node, express and connect for a simple app and have basic HTTP
I start to look at Node.js. Also I'm using Express. And I have a
I am using node.js + express.js + everyauth.js. I have moved all my everyauth
I'm using Node.JS and Express web framework, I have a problem with the res.render()
I have the following in my node server using Express (truncated to the important
I have the following controller/route definition in Node.js (using Express and Mongoose). What would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.