Open borisyordanov opened 6 years ago
@borisyordanov The Read more here
link leads to this page.
It provides some work-arounds; I hope that helps.
@newyork-anthonyng I got it working with step 3, however, i feel like this is a bug with this package and attempt to fix it should be made.
@borisyordanov this should be fixed. We just ran into issue with this in IE 11 on our app. @MelkorNemesis's pull request should be merged IMHO.
This is not the only place where build .. failes owing to syntax. There are multiple places at which it fails.. @MelkorNemesis you should incorporate that too in your PR
is the fix pushed to npm ? i still got the problem on builds.
Same here. Specifically:
SyntaxError: Unexpected token punc «(», expected punc «:» [./~/react-html-email/lib/PropTypes.js:26,0]
Still seeing this issue as well. Is there a timeline on fixing this?
Hey since this issue has not not been fixed here i finished by using a fork of this library but fixed : https://www.npmjs.com/package/react-html-email-browsers
@Meshredded I tried installing and using your package and received the following error while running my project in development.
Module not found: Can't resolve 'react-dom/lib/DOMProperty' in '.../node_modules/react-html-email-browsers/lib'
.
I am going to stick to including the original package in my src folder. I am going to stick to that until I find the time to fix this.
Update: With Create-React-App 2 this should no longer be a problem since it gets compiled. I yarn added this package and moved all my references to it instead of my "in src" version.
Change the dependency: react-html-email by react-html-email-browser This solves the problem when you try to compile the project
I have an app built with create-react-app. When i run the build command i get this error:![image](https://user-images.githubusercontent.com/12392666/34917356-8d1c1230-f945-11e7-8f56-f151d1911b32.png)
Here is my package.json
I also attached the debug log 2018-01-14T15_07_27_354Z-debug.log
Can anyone tell me how i can fix this?