rangle/angular-ssr

TypeError: Cannot read property 'bind' of undefined

buu700 opened this issue · 2 comments

It looks like angular-ssr doesn't like rxjs (version 5.3.1*)? After resolving or working around all other issues, ng-render now fails with this error:

[error] Failed to render application: TypeError: Cannot read property 'bind' of undefined
    at new ImmediateDefinition (/node_modules/rxjs/src/util/Immediate.ts:25:48)
    at Object.<anonymous> (/node_modules/rxjs/src/util/Immediate.ts:238:26)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/node_modules/rxjs/src/scheduler/AsapAction.ts:1:1)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)

* Edit: Also reproduced using rjxs 5.4.0 / Angular 4.1.2 / angular-ssr 0.1.100.

Thank you for the bug report. This is resolved in 0.1.102.

Nice! I'll update and test it out again now.