jaxio/celerio-angular-quickstart

Cannot find name 'module'

amitbalecha opened this issue · 1 comments

Getting 'Cannot find name 'module' with all components while compiling. Though i have installed @types/nodeand then addednode` to the types field in tsconfig.

src/app/app.component.ts(24,15): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try npm i @types/node and then add node to the types field in your tsconfig.
src/app/entities/author/author-detail.component.ts(19,15): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try npm i @types/node and then add node to the types field in your tsconfig.

types field of tsconfig was overwritten by tsconfig.app types field .fixed it