Skip to content

Failing to compile build folder #126

@luczaki114

Description

@luczaki114

I am getting an error compiling the script after freshly cloning it down.

Node: 8.9.1
NPM: 5.7.1
PHP: 7.2.2

ERROR in ./js/index.jsx
Module parse failed: Unexpected token (52:3)
You may need an appropriate loader to handle this file type.
| 		blogURL = path + 'page/' + FoxhoundSettings.frontPage.blog + '/';
| 		const FrontPageComponent = props => (
| 			<SinglePage slug={ FoxhoundSettings.frontPage.page } { ...props } />
| 		);
| 		frontPageRoute = <Route path={ path } component={ FrontPageComponent } />; // eslint-disable-line react/jsx-no-bind

Line 52:3 is the beginning of :
<SinglePage slug={ FoxhoundSettings.frontPage.page } { ...props } />

I imagine that babel-loader is responsible for packing this file and yet...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions