I try to hang jwt web token to my outgoing request, I used interceptor approach after the adding interceptor "ERROR TypeError: Cannot read property 'length' of undefined" is shown.
when interceptor file is removed app work correctly
this is my intercept class