Skip to content

Cannot build frontend #17

Description

@asheghi

steps to reproduce:

cd frontend
yarn
yarn dev

ERROR in Cannot find module 'babel-core'

yarn add babel-core
yarn dev


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

  24 |     var pagecontainer=[];
  25 |     pagecontainer.push(
> 26 |       <div>
     |       ^
  27 |         <Attendance />
  28 |       </div>
  29 |     )

node version 12.22
yarn version 1.22

it seems to be a misconfiguration in webpack or babel config files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions