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

getting error You may need appropriate loader to handle the file type. #26

Open
Swapnilchavan18 opened this issue Apr 12, 2017 · 3 comments

Comments

@Swapnilchavan18
Copy link

node_modules\react-photoswipe\src\photoswipe.js Unexpected token (9:19)
You may need an appropriate loader to handle this file type.

class PhotoSwipe extends React.Component {
| static propTypes = {
| isOpen: React.PropTypes.bool.isRequired,
| items: React.PropTypes.array.isRequired,
@ .//react-photoswipe/lib/PhotoSwipe.js 29:18-39
@ ./
/react-photoswipe/lib/index.js

@hirviid
Copy link

hirviid commented Apr 27, 2017

Have the same issue, after upgrading from weback 1 to webpack 2. Don't know if it's related. Have you found a solution?

@Swapnilchavan18
Copy link
Author

No I didn't found solution. Then I used photoswipe JavaScript version with npm.

@marcelocotrim
Copy link

same issue here.
Any solution?

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

3 participants