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.
Getting 'Cannot find name 'module' with all components while compiling. Though i have installed @types/node
and then added
node` 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 addnode
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? Trynpm i @types/node
and then addnode
to the types field in your tsconfig.