Closed
Description
🐞 Bug report
Command (mark with an x)
- serve
Description
I'm following the tutorial on the website called Tour of Heroes (https://angular.io/tutorial/toh-pt6). There is a bug at step 6 when importingimport { InMemoryDataService } from './in-memory-data.service';🔬 Minimal Reproduction
Follow the tutorial until you need to import ./in-memory-data.service.
🔥 Exception or Error
Error: src/app/app.module.ts:9:37 - error TS2307: Cannot find module './in-memory-data.service' or its corresponding type declarations.
🌍 Your Environment
Angular CLI: 12.2.9
Node: 14.17.6
Package Manager: npm 6.14.15
OS: win32 x64
Angular: 12.2.9
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1202.9
@angular-devkit/build-angular 12.2.9
@angular-devkit/core 12.2.9
@angular-devkit/schematics 12.2.9
@schematics/angular 12.2.9
rxjs 6.6.7
typescript 4.3.5
Anything else relevant?