Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking on build #11

Open
williampansky opened this issue Jul 27, 2020 · 0 comments
Open

Breaking on build #11

williampansky opened this issue Jul 27, 2020 · 0 comments
Labels
/game packages/game Help Wanted Extra attention is needed Priority: Critical Urgent attention required Type: Bug Something isn't working

Comments

@williampansky
Copy link
Owner

williampansky commented Jul 27, 2020

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)

@williampansky williampansky added Type: Bug Something isn't working Help Wanted Extra attention is needed /game packages/game Priority: Critical Urgent attention required labels Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
/game packages/game Help Wanted Extra attention is needed Priority: Critical Urgent attention required Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant