Open explorer2309 opened 8 years ago
Hello, Firstly, thanks for this really good generator!
So, I have the same issue when I try to install the npm package superagent. It is the normal behavior?
Kind regards.
i get the same issue on OS X.
i was able to follow some instructions here: https://github.com/babel/babelify/issues/126
npm install --save-dev babel-preset-es2015
npm install --save-dev babel-preset-react
then edit .babelrc
{
"presets": ["es2015", "react"]
}
:+1: this worked for me thanks @christopherslee
Works for me too. Thanks @christopherslee
Thanks @christopherslee and friends! I just published 0.4.6
which should include this change. Let me know if you run into any issues.
Hi all, I have come across this when I was trying to do something on react with es6. Even I followed the same babel config
{
"presets": [
[
"es2015"
],
"react"
],
"plugins": [
"react-hot-loader/babel"
]
}
However though It didn't work for me. It shows that there is an unexpected token which I found out to be "="
After generating the project and running npm start, I ran into this error
I am getting same error on Linux as well
Any ideas?