Advertisement
aaa4Alex

stacktrace

Sep 18th, 2020
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1.  
  2. 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
  3. type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
  4.  
  5. 37 readFileBuffer(path: AbsoluteFsPath): Buffer;
  6. ~~~~~~
  7. 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
  8. initions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
  9.  
  10. 38 writeFile(path: AbsoluteFsPath, data: string | Buffer, exclusive?: boolean): void;
  11. ~~~~~~
  12. 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
  13. to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
  14.  
  15. 21 readFileBuffer(path: AbsoluteFsPath): Buffer;
  16. ~~~~~~
  17. 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
  18. to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
  19.  
  20. 22 writeFile(path: AbsoluteFsPath, data: string | Buffer, exclusive?: boolean): void;
  21. ~~~~~~
  22. 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
  23. to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
  24.  
  25. 63 export declare type File = string | Buffer;
  26. ~~~~~~
  27.  
  28.  
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement