Failed Build - Error: Cannot read property 'text' of undefined

Built failed with following message:

ionic serve                              
Starting app-scripts server: --address --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser -
Ctrl+C to cancel
[10:49:50]  watch started ...
[10:49:50]  build dev started ...
[10:49:50]  clean started ...
[10:49:50]  clean finished in 1 ms
[10:49:50]  copy started ...
[10:49:50]  deeplinks started ...
Error: Cannot read property 'text' of undefined
    at new BuildError (/Users/macbook/IdeaProjects/Billz/Mobile/
    at /Users/macbook/IdeaProjects/Billz/Mobile/
    at <anonymous>
[10:49:50]  copy finished in 247 ms

I got this too from trying to use an export from Creator.
Any ideas?

Hello ,
Sorry to revive this post but there is no awser.
And in my case this error show up when i deleted by mistake the name of one of my providers.
Hope it could help other people
Best regards