Error During ionic Build Module parse Unexpected Character

suddenly all of my project are having this error when i build with ionic build --prod please can anybody help.
i have tried re installing node and even ionic its still same
Please can anyone help?

Blockquote
ERROR in ./node_modules/core-js/modules/es.regexp.exec.js 1:3
Module parse failed: Unexpected character ’ ’ (1:3)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack
(Source code omitted for this binary file)
@ ./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js 3:0-36
@ ./node_modules/core-js/modules/es.string.match.js
@ ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js
@ multi ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js zone.js/dist/zone-legacy ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js ./src/polyfills.ts
[ERROR] An error occurred while running subprocess ng.

    ng.cmd run app:build exited with exit code 1.

all i did was to delete the node modules folder and re-install with npm install and its working well now