'how can i solve react build problem of name (Bump) [./~/d3-shape/dist/d3-shape.js:1033,0]?

i have completed onne react project .this is working fine in local server.now i want to deploy it so when i run npm build cmd then it does not compile successfully.npm build was work successfully previous. now this is throwing error of Failed to compile.

static/js/main.f3929af2.js from UglifyJs SyntaxError: Unexpected token: name (Bump) [./~/d3-shape/dist/d3-shape.js:1033,0]



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source