Skip to content

Breaking on build #11

@williampansky

Description

@williampansky

Build breaks when running yarn build in the packages/game directory.

console log

$ yarn build:game
yarn run v1.21.1
$ lerna bootstrap && lerna run --scope @ccg/game build --stream
lerna notice cli v3.22.0
lerna info versioning independent
lerna info bootstrap root only
[1/4] 🔍  Resolving packages...
success Already up-to-date.
lerna notice cli v3.22.0
lerna info versioning independent
lerna notice filter including "@ccg/game"
lerna info filter [ '@ccg/game' ]
lerna info Executing command in 1 package: "yarn run build"
@ccg/game: $ react-scripts build
@ccg/game: Creating an optimized production build...
@ccg/game: Failed to compile.
@ccg/game: ../components/src/MatchHistory/index.jsx 10:4
@ccg/game: Module parse failed: Unexpected token (10:4)
@ccg/game: You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
@ccg/game: | 
@ccg/game: |   return (
@ccg/game: >     <div className="match__history" data-component="MatchHistory">
@ccg/game: |       <section>
@ccg/game: |         <ScrollToBottom
@ccg/game: error Command failed with exit code 1.
@ccg/game: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build exited 1 in '@ccg/game'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

build error links / research

-facebook/create-react-app#1333 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    /gamepackages/gameHelp WantedExtra attention is neededPriority: CriticalUrgent attention requiredType: BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions