TypeError: You provided 'undefined' where a stream was expected

前端 未结 10 673
广开言路
广开言路 2021-01-11 09:42

I have an Ionic app that has a user provider with a signup() method:

doSignup() {
  // set         


        
10条回答
  •  孤街浪徒
    2021-01-11 10:13

    In my case I was returing with empty return:

    if (...)
       return; // problem here
    

    To fix, I returned the observed object:

    if (...)
       return req.next();
    

提交回复
热议问题