OmniSharp / atom-json-schema

Json schema intellisense and validation for Atom
MIT License
43 stars 15 forks source link

TypeError: undefined is not a function #6

Open baelter opened 9 years ago

baelter commented 9 years ago

Getting this error as soon as i open a json file.

TypeError: undefined is not a function
    at MergeAllObserver.onNext (/home/anders/.atom/packages/json-   schema/node_modules/rx/dist/rx.js:3595:37)
    at MergeAllObserver.tryCatcher (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1710:35)
    at InnerObserver.onNext (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:4810:14)
    at InnerObserver.tryCatcher (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1710:35)
    at scheduleItem (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2961:16)
    at Scheduler.scheduleNow [as _schedule] (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1224:50)
    at Scheduler.Rx.Scheduler.schedulerProto.scheduleWithState (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:970:19)
    at JustSink.run (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2966:36)
    at JustObservable.subscribeCore (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2951:19)
    at JustObservable.tryCatcher (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at setDisposable (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2024:46)
    at JustObservable.subscribe [as _subscribe] (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2038:9)
    at JustObservable.Rx.Observable.observableProto.subscribe.observableProto.forEach (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1976:19)
    at MapObservable.subscribeCore (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:4793:26)
    at MapObservable.tryCatcher (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:567:29)
    at setDisposable (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2024:46)
    at MapObservable.subscribe [as _subscribe] (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:2038:9)
    at MapObservable.Rx.Observable.observableProto.subscribe.observableProto.forEach (/home/anders/.atom/packages/json-schema/node_modules/rx/dist/rx.js:1976:19)
neopostmodern commented 9 years ago

It also pops-up again every single time I make a change to a JSON file, which makes it pretty impossible to use.

writeameer commented 9 years ago

Experiencing same issues as mentioned above by both @neopostmodern and @baelter. Currently running version 0.1.11

david-driscoll commented 9 years ago

@baelter @neopostmodern @writeameer Have any of you had a chance to test v0.1.12, I have fixed a few issues around working with json files that don't have a schema defined.