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

You may need an appropriate loader to handle this file type #4

Open
ricardomatias opened this issue Feb 28, 2018 · 0 comments
Open

Comments

@ricardomatias
Copy link

I'm using babel-preset-env and taking a look at your code, I'm using the same features throughout my code base.. but somehow I still get this. Any ideas?

./node_modules/react-share-button/components/ShareBtn.js
Module parse failed: Unexpected token (62:6)
You may need an appropriate loader to handle this file type.
|     const gmailURL = `https://mail.google.com/mail/u/0/?view=cm&ui=2&tf=0&fs=1&su=${this.props.text}&body=Check out this awesome property %0A${this.props.url}`
|     return (
|       <div className='share-popup'>
|         {this.props.shareModalOpen && <Visibility ref={(node) => { this.visibility = node }} />}
|         <a className='sp-tab' href={`whatsapp://send?text=${text}`} onClick={this.whatsappClicked}>
 @ ./node_modules/react-share-button/components/index.js 1:0-33
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

1 participant