-
Couldn't load subscription status.
- Fork 1
Open
Labels
/gamepackages/gamepackages/gameHelp WantedExtra attention is neededExtra attention is neededPriority: CriticalUrgent attention requiredUrgent attention requiredType: BugSomething isn't workingSomething isn't working
Description
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)
- https://stackoverflow.com/a/49302541/8296677
- React - Module parse failed: You may need an appropriate loader to handle this file type. babel/babel-loader#173
- Support Lerna and/or Yarn Workspaces facebook/create-react-app#1333 (comment)
- https://stackoverflow.com/questions/48034538/how-to-solve-this-error-you-may-need-an-appropriate-loader-to-handle-this-file-t
- https://stackoverflow.com/questions/58562201/how-to-fix-you-may-need-an-appropriate-loader-to-handle-this-file-type-currentl
- https://stackoverflow.com/questions/57653076/error-module-parse-failed-you-may-need-an-appropriate-loader-to-handle-this
Metadata
Metadata
Assignees
Labels
/gamepackages/gamepackages/gameHelp WantedExtra attention is neededExtra attention is neededPriority: CriticalUrgent attention requiredUrgent attention requiredType: BugSomething isn't workingSomething isn't working