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.

395050 (10) [Avatar] Offline
#1
In the Latest sample code on https://github.com/Farata/angulartypescript the ngAuction server/build directories
contain files with sourcemaps that seem to prevent starting the server with node build/main
Rebuilding the build directory with npm run-script build solves the problem.

What command should I use to run the server with sourcemaps:true?
Yakov Fain (219) [Avatar] Offline
#2
I didn't run into any issues while running node build/main, but the build dir shouldn't have been committed to github in any case. The readers are expected to run compile first either with globally installed tsc or with the npm script.

I removed build dirs from all versions of the auction and removed the sourcemap option from tsconfig.

Thank you for letting us know about this.