CM integration throws a lot of errors #182

oskarkrawczyk opened this Issue Mar 22, 2013 · 7 comments


None yet

5 participants


It seems like the CM integration is broken.

There's a lot of Uncaught TypeError: Object #<Doc> has no method 'getValue', there are some Uncaught TypeError: Cannot read property 'text' of null.

Additionally the synchronization gets broken once you select all lines of code and delete them. But that's probably because of the aforementioned JS errors.

Is CM support still something you want to maintain?

josephg commented Mar 22, 2013

I know. I don't know who's broken CM, but I'm quite annoyed that people have been submitting pull requests without checking if they break the build.

This is the reason why I haven't updated npm in awhile. Its time for a git bisect.

nareshv commented Mar 24, 2013


it was working for the past couple of days. Seems broken now.


I have recently encountered this same bug at fc07166, with CM 3.12. When replacing multiline texts, it first emits Uncaught TypeError: Cannot read property 'text' of null, followed by a series of Text does not match!.

The former error is emitted from, which was caused by a null returned at

josephg commented May 11, 2013

I just pulled 9ffc95b to upgrade to the latest CM. Does that fix it?
Ping @mluto @nornagon

luto commented May 11, 2013

No, still throws Text does not match!.. :-/
Edit: Uncaught TypeError: Cannot read property 'text' of null seems to be gone, though.


As for the errors I've mentioned. These are gone.

josephg commented May 23, 2013


@josephg josephg closed this May 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment