Comments (16)
@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.
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.
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.
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.
👍
from fitbit-js.
Thanks gentlemen! 👍
from fitbit-js.
Thanks Gentle Man
from fitbit-js.
thanks man!
from fitbit-js.
Thanks 👍
from fitbit-js.
Thanks, Gentlemen 👍
from fitbit-js.
express@">=3.0.0 <4.0.0"
run this
it woked for me
from fitbit-js.
Got the Same Problem like geraldanosike :(
from fitbit-js.
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.
@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.
(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.
Thank you so much its working now :)
from fitbit-js.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fitbit-js.