Monday 25 February 2019

RangeError: Invalid typed array length: when running Angular on https in local PC

I'm trying to add https for my local Angular Web app development.

When I use ng serve command, everything works fine. I created and installed a local SSL certificate on my mac.

After that I'm trying to run my Angular app using the comnmand ng serve --ssl true. The app compiles without any error. When I hit any url, the app crashes and I'm getting the below error. What could be causing the error?

internal/buffer.js:788
class FastBuffer extends Uint8Array {}
RangeError: Invalid typed array length: -4095



from RangeError: Invalid typed array length: when running Angular on https in local PC

No comments:

Post a Comment