-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Something wrong with babel #1048
Comments
What if problem is here? As a workaround import Rheostat from 'rheostat/lib/Slider'; |
Does JSX work without rheostat? Are you sure that you're using 1.6.2 and not some other version? (we saw something very similar in #963) Also can you please provide the full error message... it got cropped out of your screenshot. |
If I rename
|
|
I tried to
then added to |
I'm having the same problem, but with
anyone? |
I found out that the problem is related to parcel not using babel for |
Yes in this case "main": "lib/index.js",
"jsnext:main": "src/index.js", parcel should take file from "main" not from "jsnext:main" key 👝 if babel is not used |
thanks, that clarifies it :] |
Seem to be having getting the same issue when running in a Docker based on the official Node v8 image. However works perfectly when run on the host system. Same version of Node.js and Parcel. O.o |
Impossible to use https://www.npmjs.com/package/rheostat library
.babelrc
index.js
Probably related to #878
parcel: 1.6.2
The text was updated successfully, but these errors were encountered: