Coder Social home page Coder Social logo

Comments (11)

borisyordanov avatar borisyordanov commented on July 28, 2024 3

@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.

from react-html-email.

capaj avatar capaj commented on July 28, 2024 2

@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.

from react-html-email.

rikardocorp avatar rikardocorp commented on July 28, 2024 1

Change the dependency: react-html-email by react-html-email-browser
This solves the problem when you try to compile the project

from react-html-email.

newyork-anthonyng avatar newyork-anthonyng commented on July 28, 2024

@borisyordanov The Read more here link leads to this page.

It provides some work-arounds; I hope that helps.

from react-html-email.

Amit-Milli avatar Amit-Milli commented on July 28, 2024

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

from react-html-email.

FrenchTechLead avatar FrenchTechLead commented on July 28, 2024

is the fix pushed to npm ? i still got the problem on builds.

from react-html-email.

kennedyrose avatar kennedyrose commented on July 28, 2024

Same here. Specifically:

  SyntaxError: Unexpected token punc «(», expected punc «:» [./~/react-html-email/lib/PropTypes.js:26,0]

from react-html-email.

SCasarotto avatar SCasarotto commented on July 28, 2024

Still seeing this issue as well. Is there a timeline on fixing this?

from react-html-email.

FrenchTechLead avatar FrenchTechLead commented on July 28, 2024

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

from react-html-email.

SCasarotto avatar SCasarotto commented on July 28, 2024

@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.

from react-html-email.

SCasarotto avatar SCasarotto commented on July 28, 2024

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.

from react-html-email.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.