-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
The command yarn run build gave unexpected behavior on both Mac OSX Ventura, and Linux PopOs 22.04 LTS.
Creating an optimized production build...
Failed to compile.
./src/index.js
Cannot find module: 'babel-polyfill'. Make sure this package is installed.
You can install this package by running: yarn add babel-polyfill.
Next action: execute yarn add babel-polyfill
success
Next action, run again "yarn run build" but faced another error
npm run compile && react-scripts build
> common-cartridge-viewer@0.1.1 compile
> lingui compile
Compiling message catalogs…
Done!
Creating an optimized production build...
Failed to compile.
./src/index.js
Line 38: Expected an assignment or function call and instead saw an expression no-unused-expressions
Search for the keywords to learn more about each error.
error Command failed with exit code 1.
Any ideas how to get past these issues? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels