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
Error when building for Angular 5 #141
Comments
Thanks @dallascaley, this looks like it may be an old/un-needed import, either way require isn't compatible with es6 which I assume is what module is set to in your tsconfig? |
It appears as though es5 is what is set in our tsconfig, however I don't know if I fully understand how the tsconfig works even. I see one tsconfig.json file at the root of the project with the following:
I see another which resides in our src folder with this: (called tsconfig.app.json)
and yet another also in src with this: (called tsconfig.spec.json)
I have no clue which is actually being used or what precedence they are in. None seem to imply es6 however |
Any plans on fixing this? My release manager is a bit annoyed that he had to write a script to fix this after each build. |
@dallascaley, we have fixed this in our development repository and it will be published in the next release. I do not have a date on that as of yet. |
awesome, thanks. |
Test was passing when HTTP status != 200 was returned
This has been fixed in the 3.0.1 release. |
I have imported remote-pay-cloud 1.4.3 into my application and i get the following error when i do an ng build --prod:
I fixed the error in my local environment by simply removing the first import from the WebSocketCloudCloverTransport.ts file which looks like this:
import http = require('http');
I also verified that for my current functionality needs the package still works without that import but I almost guarantee that i broke something else somewhere by removing it. I would appreciate if someone could look at what I did here and fix the problem correctly.
The text was updated successfully, but these errors were encountered: