Npm run build gives error in @coreui/vendors-injector

/Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:24
const getVendorName = url => Boolean(url.indexOf(’@’) >= 0) ? ${url.split('/')[1]}/${url.split('/')[2]} : ${url.split('/')[1]}
^

TypeError: Cannot read property ‘indexOf’ of undefined
at getVendorName (/Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:24:42)
at updateVendorUrl (/Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:42:22)
at /Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:76:24
at Array.map ()
at getVendors (/Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:75:23)
at injectVendors (/Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:112:3)
at /Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/@coreui/vendors-injector/index.js:131:18
at /Users/abinsaju/OfflineData/Centrol/business_dash/node_modules/graceful-fs/graceful-fs.js:78:16
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @coreui/coreui-free-bootstrap-admin-template@3.4.0 build-vendors: node build/vendors.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @coreui/coreui-free-bootstrap-admin-template@3.4.0 build-vendors script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Has anyone else experienced this?