Giter Club home page Giter Club logo

blog's People

Contributors

tamzinblake avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

blog's Issues

i got a message like this when configuring the node files

[delushaan@delushaan-pc blog]$ npm start

[email protected] start /home/delushaan/Documents/twit_api/blog
node ./bin/www

/home/delushaan/Documents/twit_api/blog/node_modules/express/lib/application.js:209
throw new TypeError('app.use() requires middleware functions');
^

TypeError: app.use() requires middleware functions
at Function.use (/home/delushaan/Documents/twit_api/blog/node_modules/express/lib/application.js:209:11)
at Object. (/home/delushaan/Documents/twit_api/blog/app.js:24:5)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/home/delushaan/Documents/twit_api/blog/bin/www:7:11)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)

npm ERR! Linux 4.4.52-1-MANJARO
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v7.6.0
npm ERR! npm v4.3.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the blog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs blog
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls blog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/delushaan/.npm/_logs/2017-03-02T04_12_29_863Z-debug.log
[delushaan@delushaan-pc blog]$ node ./bin/www
/home/delushaan/Documents/twit_api/blog/node_modules/express/lib/application.js:209
throw new TypeError('app.use() requires middleware functions');

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.