vasilevach / Web-App-with-Amazon-AWS-Lex

MIT License
5 stars 2 forks source link

JSX not transpiling #1

Open Mouradif opened 6 years ago

Mouradif commented 6 years ago

Hi there,

I did exactly what you said : git clone, npm install, npm start I get the following error :


ERROR in ./src/index.jsx
Module build failed: SyntaxError: Unexpected token (6:8)

  4 | import App from './app.jsx';
  5 |
> 6 | render( <AppContainer><App/></AppContainer>, document.querySelector("#app"));
    |         ^
  7 |
  8 | if (module && module.hot) {
  9 |   module.hot.accept('./app.jsx', () => {
michelleXIE2014 commented 6 years ago

I have the same issue.

jhnferraris commented 6 years ago

Managed to get around with the transpiling error.

https://github.com/vasilevach/Web-App-with-Amazon-AWS-Lex/pull/3