Cannot read property 'replace' of undefined


#1

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):

C:\Users\andre\AppData\Local.meteor\packages\meteor-tool\1.4.2_3\mt-os.windows.x86_32\tools\static-assets\server\mini-files.js:68:22:
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.


#2

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.


#3

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…


#4

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

-Andres


#5

Glad to have helped :slight_smile: