mp-react-components
mp-react-components copied to clipboard
When we try to run "yarn build-prod" getting the following error
We have cloned the project from get then did the following :
- yarn install
- yarn start ( it is working no issue)
- 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)