GithubHelp home page GithubHelp logo

Comments (16)

pbojinov avatar pbojinov commented on August 9, 2024 36

@phrozen755 the version of express @smurthas is using in this example is 3.x.x, whereas if you ran npm install express at the moment it will give you 4.x.x.

Try running npm install express@">=3.0.0 <4.0.0" --save from the example folder and it will resolve the error you're seeing.

from fitbit-js.

kev5 avatar kev5 commented on August 9, 2024 5

After coming down to an earlier version of express as suggested, I faced a new error-

router.get('/', function(req, res, next) {
       ^

TypeError: Cannot read property 'get' of undefined

from fitbit-js.

deevally avatar deevally commented on August 9, 2024 5

After coming down to an earlier version of express as suggested, I faced a new error-

router.get('/', function(req, res, next) {
       ^

TypeError: Cannot read property 'get' of undefined

I have same issue right now and cannot fix it

from fitbit-js.

smurthas avatar smurthas commented on August 9, 2024

Thanks for answering the question @phrozen755. I've merged #13 and updated the example to use express 4.x.x.

I'm did a version bump and published to npm, so v0.3.2 has the update included.

from fitbit-js.

pbojinov avatar pbojinov commented on August 9, 2024

👍

from fitbit-js.

phrozen755 avatar phrozen755 commented on August 9, 2024

Thanks gentlemen! 👍

from fitbit-js.

 avatar commented on August 9, 2024

Thanks Gentle Man

from fitbit-js.

tejas-kr avatar tejas-kr commented on August 9, 2024

thanks man!

from fitbit-js.

the1thing avatar the1thing commented on August 9, 2024

Thanks 👍

from fitbit-js.

Nilesh-Misal avatar Nilesh-Misal commented on August 9, 2024

Thanks, Gentlemen 👍

from fitbit-js.

learnwithalfred avatar learnwithalfred commented on August 9, 2024

express@">=3.0.0 <4.0.0"

run this
it woked for me

from fitbit-js.

requireSol avatar requireSol commented on August 9, 2024

Got the Same Problem like geraldanosike :(

from fitbit-js.

kcsrinivasa avatar kcsrinivasa commented on August 9, 2024

After I got his error If I install the express greater than 4 version it is working but If I install
npm install express@">=3.0.0 <4.0.0" --save I am getting following error

router.use('/ivr', twilio.webhook({validate: false}), ivrRouter);
^

TypeError: router.use is not a function

from fitbit-js.

PappuKP avatar PappuKP commented on August 9, 2024

@phrozen755 the version of express @smurthas is using in this example is 3.x.x, whereas if you run npm install express at the moment it will give you 4.x.x.

Try running npm install express@">=3.0.0 <4.0.0" --save from the example folder and it will resolve the error you're seeing.

thank you

from fitbit-js.

rahulkhichi199 avatar rahulkhichi199 commented on August 9, 2024

(connect deprecated limit: Restrict request size at location of read app.js:24:17)

it appears after that
then how to solve this error!!

from fitbit-js.

nupur1997 avatar nupur1997 commented on August 9, 2024

Thank you so much its working now :)

from fitbit-js.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.