kahmali / meteor-restivus

REST APIs for the Best of Us! - A Meteor 0.9+ package for building REST APIs https://atmospherejs.com/nimble/restivus
MIT License
544 stars 116 forks source link

Restivus.configure is not a function #291

Closed shemeermali closed 6 years ago

shemeermali commented 6 years ago

I am getting an error "Restivus.configure is not a function" on Meteor 1.6.1. The same code working fine in METEOR@1.1.0.2

My Code-:

Restivus.configure({
    prettyJson: true
  });

I have created new app in meteor and added restivus package using following command

meteor add nimble:restivus Any idea?

Error details-:

TypeError: Restivus.configure is not a function
W20180227-15:02:32.766(5.5)? (STDERR)     at test.js (test.js:16:12)
W20180227-15:02:32.767(5.5)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:343:9)
W20180227-15:02:32.767(5.5)? (STDERR)     at require (packages/modules-runtime.js:238:16)
W20180227-15:02:32.767(5.5)? (STDERR)     at /Applications/MAMP/htdocs/wuyers-api/.meteor/local/build/programs/server/app/app.js:234:1
W20180227-15:02:32.767(5.5)? (STDERR)     at /Applications/MAMP/htdocs/wuyers-api/.meteor/local/build/programs/server/boot.js:411:36
W20180227-15:02:32.767(5.5)? (STDERR)     at Array.forEach (<anonymous>)
W20180227-15:02:32.768(5.5)? (STDERR)     at /Applications/MAMP/htdocs/wuyers-api/.meteor/local/build/programs/server/boot.js:220:19
W20180227-15:02:32.768(5.5)? (STDERR)     at /Applications/MAMP/htdocs/wuyers-api/.meteor/local/build/programs/server/boot.js:471:5
W20180227-15:02:32.768(5.5)? (STDERR)     at Function.run (/Applications/MAMP/htdocs/wuyers-api/.meteor/local/build/programs/server/profile.js:510:12)
W20180227-15:02:32.768(5.5)? (STDERR)     at /Applications/MAMP/htdocs/wuyers-api/.meteor/local/build/programs/server/boot.js:470:11

Thanks