Cannot read property 'replace' of undefined

Working on a project and I notice that my active meteor session said it has to restart because there was an update. So I restarted meteor and now I get the following error:

Errors prevented startup:

While processing files with barbatus:typescript (for target web.browser):

Cannot read property ‘replace’ of undefined
at Object.convertToStandardLineEndings

I’m running in Windows 10. Any ideas.

I’m desperate since I have a paying customer and need to complete project.

Let me add one more thing. I did not import any new module for the last couple of weeks.

May be worth trying meteor update --all-packages.

Failing that, revert your code to an earlier commit until you understand what you need to do to fix this.

Funny thing. I’m new to meteor I was about to send you a message @robfallows before posting to the forum. I noticed that you were a big contributor. Thanks for the suggestion.

Tying it now…

1 Like

@robfallows you are a genious. Thanks so much. I owe you big.


1 Like

Glad to have helped :slight_smile: