Hi,

I'm running linux mint 17 with node --version v4.4.2 with npm --version
3.8.5


I've done the following to get the marklogic client api working

  git clone https://github.com/marklogic/node-client-api.git
  cd node-client-api/
  npm install -f marklogic --save
  npm install --save

however when I execute node etc/test-setup.js

admin user (default=admin): admin
admin password (default=admin): ********

checking for REST users

/mnt/mntlech/externalgit/node-client-api/node_modules/bluebird/js/main/async.js:43
        fn = function () { throw arg; };
                           ^
Error: POST /manage/v2/roles: cannot process response with 400 status



Any ideas what the problem may be going wrong there?



I can however connect and load documents using the examples
http://docs.marklogic.com/8.0/guide/node-dev/intro#

node loaddocument.js
Loaded the following documents:
  /gs/aardvark.json
  /gs/bluebird.json
  /gs/cobra.json

so it suggests my credentials and ability to connect with node js at the
very least is working.



also if I run 'node gulp doc' in node-client-api/ i get errors as well

node gulp doc
module.js:327
    throw err;
    ^

Error: Cannot find module '/mnt/mntlech/externalgit/node-client-api/gulp'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3



Regards
Alex
www.jahtoe.com
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to