[QUESTION]
Hello, I am wondering if this library is usable in Angular application? I have tried installing this onto Angular and getting compilation error while serving it locally
Error: ./node_modules/buffer/index.js
Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: ENOENT: no such file or directory, open 'D:\projects\sae-ng-global\node_modules\buffer\index.js'
Error: ./node_modules/path/path.js
Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: ENOENT: no such file or directory, open 'D:\projects\sae-ng-global\node_modules\path\path.js'
I am able to overcome these 2 errors by manually installing buffer and path with npm i -D buffer path but I am still getting a runtime error from browser console where it complains
ERROR Error: Uncaught (in promise): ReferenceError: process is not defined
ReferenceError: process is not defined
Is there any setting I can configure to make it usable in Angular? Am running Angular 11.5.2.
[QUESTION]
Hello, I am wondering if this library is usable in Angular application? I have tried installing this onto Angular and getting compilation error while serving it locally
I am able to overcome these 2 errors by manually installing
bufferandpathwithnpm i -D buffer pathbut I am still getting a runtime error from browser console where it complainsIs there any setting I can configure to make it usable in Angular? Am running Angular 11.5.2.