Reactjs – TypeError: hostOrText.readFile is not a function
I am trying to use npm rollup to make my repo into a npm module but I keep running into this error: [!] (plugin commonjs--resolver) TypeError: hostOrText.readFile is not a function at readJsonOrUndefined (/Users/mng/Documents/UI-shared-library/node_modules/typescript/lib/typescript.js:19519:74) at Object.readJson (/Users/mng/Documents/UI-shared-library/node_modules/typescript/lib/typescript.js:19528:16) at getPackageJsonInfo (/Users/mng/Documents/UI-shared-library/node_modules/typescript/lib/typescript.js:44772:41)…