Git Product home page Git Product logo

arduino-wifi-powerswitch's People

Contributors

marcoschwartz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arduino-wifi-powerswitch's Issues

TypeError: arest.send is not a function

Hello,

I am following your wifi power switch tutorial and succeed until the very last part, the Interface. I installed the aRest module through the terminal. Once I installed node app.js and open my browser and saw on/off button with offline. Waited more than 10 minutes. I did not see the green"Device online" text. I checked my terminal and saw this " TypeError: arest.send is not a function"
Is that would be the problem? Please teach me how to resolve this issue ASAP

below is the copy of terminal:

matts-MacBook-Pro-2:interface dkim49$ node app.js
Listening on port 3700
express deprecated res.sendfile: Use res.sendFile instead app.js:16:7
TypeError: arest.send is not a function
at /Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/app.js:21:9
at Layer.handle as handle_request
at next (/Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/node_modules/express/lib/router/route.js:112:3)
at Layer.handle as handle_request
at /Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/node_modules/express/lib/router/index.js:330:12)
at next (/Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/node_modules/express/lib/router/index.js:271:10)
at SendStream.error (/Users/dkim49/Desktop/Arduino/arduino-wifi-powerswitch-master/interface/node_modules/express/node_modules/serve-static/index.js:120:7)
at emitOne (events.js:77:13)

You Should Complie your Project

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
Binary sketch size: 32,342 bytes (of a 32,256 byte maximum)

processing.app.debug.RunnerException: Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.

at processing.app.Sketch.size(Sketch.java:1653)

at processing.app.Sketch.build(Sketch.java:1586)

at processing.app.Sketch.build(Sketch.java:1562)

at processing.app.Editor$DefaultRunHandler.run(Editor.java:1899)

at java.lang.Thread.run(Thread.java:619)

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.