Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTE TypeError after production build #504

Open
filipefreitas82 opened this issue Feb 23, 2018 · 4 comments
Open

RTE TypeError after production build #504

filipefreitas82 opened this issue Feb 23, 2018 · 4 comments

Comments

@filipefreitas82
Copy link

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)

@marablayev
Copy link

Look here #346, it can help

@jcfrane
Copy link

jcfrane commented Jan 7, 2019

target is not a good solution according to the link you've provided. Is someone making a PR?

@jcfrane
Copy link

jcfrane commented Jan 7, 2019

The error is coming from line 229, I think:

...})(typeof define === 'function' && define.amd ? define : function (factory) { module.exports = factory(require); });

@npjonath
Copy link

Any idea how to fix this behavior ? Our app can't build in production because of this. Changing target in tsconfig doesn't do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants