Open mrlaunch opened 5 years ago
Are you using create-react-app
?
The issue is most likely that your packager is not transpiling node_modules
dependencies. The most recent versions of create-react-app
are all transpiling node_modules
as well.
Yes I use create-react-app and I tried for several times. But it's same always
I am experiencing the same exact error with the latest create-react-app
("react-scripts": "3.4.1"
)
Am I wrong that it is generally presented as an antipattern to not to compile your npm modules?
Like in this stackoverflow question I would've loved to use your library but I can't :( I will probably clone this repo and prebuild it. Should I PR if I will do this?
@IvanVishnevskiy a PR is welcome, sure!
I am facing the same issue. Any update?
Getting this same issue.....
I installed this module and run this command npm start and error occurs
./node_modules/@sentisis/react-tags-input/src/TagsInput.jsx 82:2 Module parse failed: Unexpected token (82:2) You may need an appropriate loader to handle this file type. | | const tagRenderer = ({ value, special }, onClick) => (