Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ERROR in node_modules/@angular/compiler-cli/src/ngtsc/file_system/src/types.d.ts:37:43 - error TS2591: Cannot find name 'Buffer'. 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.
- 37 readFileBuffer(path: AbsoluteFsPath): Buffer;
- ~~~~~~
- node_modules/@angular/compiler-cli/src/ngtsc/file_system/src/types.d.ts:38:52 - error TS2591: Cannot find name 'Buffer'. Do you need to install type def
- initions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
- 38 writeFile(path: AbsoluteFsPath, data: string | Buffer, exclusive?: boolean): void;
- ~~~~~~
- node_modules/@angular/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.d.ts:21:43 - error TS2591: Cannot find name 'Buffer'. 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.
- 21 readFileBuffer(path: AbsoluteFsPath): Buffer;
- ~~~~~~
- node_modules/@angular/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.d.ts:22:52 - error TS2591: Cannot find name 'Buffer'. 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.
- 22 writeFile(path: AbsoluteFsPath, data: string | Buffer, exclusive?: boolean): void;
- ~~~~~~
- node_modules/@angular/compiler-cli/src/ngtsc/file_system/testing/src/mock_file_system.d.ts:63:37 - error TS2591: Cannot find name 'Buffer'. 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.
- 63 export declare type File = string | Buffer;
- ~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement