Using angular5 and the autobahn package, building the app with angular cli (ng build --prod)
Uncaught TypeError: (intermediate value)(intermediate value) is not a function
at when.js:1008
at Object.12.../apply (when.js:753)
at o (when.js:13)
at when.js:13
at when.js:2948
at when.js:3133
at Object.32../lib/Promise (when.js:2944)
at o (when.js:13)
at when.js:13
at Object.1.../callbacks (when.js:16)