-
Notifications
You must be signed in to change notification settings - Fork 101
Troubleshooting
Here are some of the most common issues we are aware of that people run into.
Make sure you have the latest version of Node and NPM, if possible.
Make sure you run typings install
before doing anything else. And then you can run tsc
, npm run dev
, npm start
and so on.
Since Angular2 is using Typescript, you'll also have to run typings install
before compiling your code.
Before running the app, run in a separate terminal mongod
to get MongoDB started.
Since Angular2 is in constant change, it's a bit rough to keep up with the test changes, so you'll end up running into https://github.com/ericmdantas/generator-ng-fullstack/issues/101. To be able to run the distribution build with Angular2, make sure you comment the test line in tasks/client/build.js
.
We have a session about deployment for Heroku, take a look.
Ensure you have yo globally installed npm install -g yo
.
It's up to you, really. I personally use ngf
- it makes my job faster and simpler.