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

Yarn build fails #4

Closed
iKlsR opened this issue Jul 31, 2020 · 0 comments
Closed

Yarn build fails #4

iKlsR opened this issue Jul 31, 2020 · 0 comments

Comments

@iKlsR
Copy link

iKlsR commented Jul 31, 2020

Following instructions I get

$ yarn build
yarn run v1.19.1
$ PROGRESS=${PROGRESS:-true} webpack --config frontend/webpack/webpack.config.js
'PROGRESS' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Removing PROGRESS=${PROGRESS:-true} then I get

$ yarn build
yarn run v1.19.1
$ webpack --config frontend/webpack/webpack.config.js
Hash: 7c32ebaffa2596f62713
Version: webpack 4.41.5
Time: 2787ms
Built at: 07/30/2020 8:25:07 PM

ERROR in ../node_modules/@fortawesome/fontawesome-pro/svgs/regular/chevron-right.svg 1:0
Module parse failed: Unexpected token (1:0)
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
> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path d="M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z"/></svg>
 @ ./app/components/json-viewer/index.tsx 12:29-99
 @ ./app/components/object-editor/index.tsx
 @ ./app/app.tsx

ERROR in ../node_modules/@fortawesome/fontawesome-pro/svgs/regular/cross.svg 1:0
Module parse failed: Unexpected token (1:0)
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
> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M344 104h-64V40c0-22.06-17.94-40-40-40h-96c-22.06 0-40 17.94-40 40v64H40c-22.06 0-40 17.94-40 40v96c0 22.06 17.94 40 40 40h64v192c0 22.06 17.94 40 40 40h96c22.06 0 40-17.94 40-40V280h64c22.06 0 40-17.94 40-40v-96c0-22.06-17.94-40-40-40zm-8 128H232v232h-80V232H48v-80h104V48h80v104h104v80z"/></svg>
 @ ./app/components/json-viewer/index.tsx 13:22-84
 @ ./app/components/object-editor/index.tsx
 @ ./app/app.tsx

ERROR in ../node_modules/@fortawesome/fontawesome-pro/svgs/regular/chevron-down.svg 1:0
Module parse failed: Unexpected token (1:0)
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
> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z"/></svg>
 @ ./app/components/json-viewer/index.tsx 11:28-97
 @ ./app/components/object-editor/index.tsx
 @ ./app/app.tsx
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@iKlsR iKlsR closed this as completed Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant