The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

509260 (3) [Avatar] Offline
#1
Hello,

I am on chapter 8 and my code turned out to be such a MESS that I downloaded your code. I am trying to run it but I am lost and get the following errors:

from root: Chapter-8\npm start : error is module.js:471 cannot find modue 'mongoose'
from chapter-8\app_public\ng serve : error you have to be inside an angular-cli project in order to use the ng serve
from chapter-8\app_public\ng build -prod op build : error you have to be inside an angular-cli project in order to use the ng serve

I don't know which folder and which command is necessary to start the chapter 8 code

Please help

Thank you
Jumy Elerossë (11) [Avatar] Offline
#2
You need to install Angular cli (see appendix A.4) and then create the Angular boilerplate (see Chapter 8.1.1).