HEROKU - REACTJS Unexpected token '<'

Asked

Viewed 33 times

0

    **import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './app/app';
import reportWebVitals from './reportWebVitals';

ReactDOM.render(
  <App/>,
  document.getElementById('root')
);

reportWebVitals();**

WHEN I DEPLOY, IT SEEMS THAT MISTAKE:

file:///app/src/index.js:8
<App/>,

SyntaxError: Unexpected token '<'
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.