Skip to content
Eric M. Dantas edited this page Jun 12, 2018 · 7 revisions

Here are some of the most common issues we are aware of that people run into.

I can't run yo ng-fullstack, I've got a bunch of errors.

Make sure you have the latest version of Node and NPM, if possible.

I'm working with typescript in the server and I can't run the app. I keep getting multiple errors.

Make sure you run typings install before doing anything else. And then you can run tsc, npm run dev, npm start and so on.

I'm working with Angular2 in the client and I can't run the app. I keep getting multiple errors.

Since Angular2 is using Typescript, you'll also have to run typings install before compiling your code.

I can't connect to MongoDB. What is wrong?

Before running the app, run in a separate terminal mongod to get MongoDB started.

I chose Angular2 and I can't run npm run build-dist, the tasks are failing.

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.

I made enough changes, my app is ready to be deployed. What do I do now?

We have a session about deployment for Heroku, take a look.

I get command yo not found error

Ensure you have yo globally installed npm install -g yo.

Should I use yo ng-fullstack or ngf to create my projects?

It's up to you, really. I personally use ngf - it makes my job faster and simpler.