Skip to content

Windows - _Observable.Observable.merge is not a function #122

@smithalan92

Description

@smithalan92

When running an build electron app on Windows, I get the following error

_Observable.Observable.merge is not a function

The line of code in question is this one https://github.com/electron-userland/electron-spellchecker/blob/master/src/spell-check-handler.js#L245

The distributable lib looks like

var _Observable = require('rxjs/Observable');
...
disp.add(_Observable.Observable.merge(this.spellCheckInvoked, this.currentSpellcheckerChanged).subscribe(() => wordsTyped = 0));

On MacOS it works fine, because It seems the above code is not executed.

I'm not familar with RxJS, but looking at the imports here https://github.com/electron-userland/electron-spellchecker/blob/master/src/spell-check-handler.js#L10-L14 , is it possible that an import for a 'merge' lib is missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions