Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

unexpected token index.js #7

@nikrb

Description

@nikrb

Working on windows7 from a dos box, node v6.3.1.
Just learning react so out of my depth really - hoping for a gentle introduction to jwt with auth0. Followed the tutorial to first run. react-auth-server starts fine, but after sparking up browser top level server tells me:

Module parse failed: c:\projects\nodet\reactAuth\src\index.js Unexpected token

This is the line it refers to:

ReactDOM.render(<Root history={browserHistory} />, document.getElementById('app') );

I don't see the problem so I cloned this repo and ran that and saw the same error.
thanx for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions