Code Monkey home page Code Monkey logo

node-rasp2c-example's People

Contributors

ni-c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

node-rasp2c-example's Issues

express error while loading application

Thank you for writing this lib. I installed the example app in order to see it everything is working. After npm install for node_modules, I had to explicity run npm install rasp2c, as the directory was empty.

Then when starting as node app.js, I get an exception when express is checking if all callbacks are a function, in index.js. This is happening due to var routes not getting an object returned when trying to include the /routes dir.

Here is what I am getting:

pi@coder ~/build/rasp2c/node-rasp2c-example-master $ node app
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0

/home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/express/lib/router/index.js:290
throw new Error(msg);
^
Error: .get() requires callback functions but got a [object Undefined]
at /home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/express/lib/router/index.js:290:11
at Array.forEach (native)
at Router.route (/home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/express/lib/router/index.js:286:13)
at Router.(anonymous function) as get
at Function.app.(anonymous function) as get
at /home/pi/build/rasp2c/node-rasp2c-example-master/app.js:44:6
at Object.context.execCb (/home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/requirejs/bin/r.js:1876:33)
at Object.Module.check (/home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/requirejs/bin/r.js:1110:51)
at Object.Module.enable (/home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/requirejs/bin/r.js:1381:22)
at Object.Module.init (/home/pi/build/rasp2c/node-rasp2c-example-master/node_modules/requirejs/bin/r.js:1018:26)

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.