Skip to content

When we try to run "yarn build-prod" getting the following error #705

@viswa72

Description

@viswa72

We have cloned the project from get then did the following :

  1. yarn install
  2. yarn start ( it is working no issue)
  3. yarn build-prod
    Then getting the following error.

/home/user/material/mp-react-components/node_modules/three/examples/jsm/exporters/GLTFExporter.js: Unexpected token: punc (.)
at Z.get (/home/user/material/mp-react-components/node_modules/parcel-bundler/node_modules/terser/dist/bundle.min.js:1:525)
at Object.errorToJson (/home/user/material/mp-react-components/node_modules/@parcel/utils/src/errorUtils.js:9:20)
at Pipeline.process (/home/user/material/mp-react-components/node_modules/parcel-bundler/src/Pipeline.js:29:26)
at async Object.run (/home/user/material/mp-react-components/node_modules/parcel-bundler/src/worker.js:15:12)
at async Child.handleRequest (/home/user/material/mp-react-components/node_modules/@parcel/workers/src/child.js:60:26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions