Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 1.32 KB

File metadata and controls

65 lines (51 loc) · 1.32 KB

Node.js Template

Technologies Used:

  • Nodejs
  • Express
  • JS
  • SCSS
  • CSS
  • Pug
  • Mocha
  • Chai
  • Heroku
  • Bash

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

git clone https://github.com/Ronmantech/Nodejs_Template.git
cd Nodejs_Template 
npm install
npm start

The app will run on port 8080. localhost:8080.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Or you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Help Desk

If "cant find modules" error is encountered. Try the following:

npm install

If "Node Sass could not find a binding for your current environment" or "throw new Error(errors.missingBinary());" error is encountered. Try either of the following:

rm -rf node_modules && npm install

or

npm rebuild node-sass && npm install

If

gulp[1016]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed."
Abort 6

error is encountered. Try the following:

rm -rf node_modules && npm install && npm link gulp