I have built an NPM package locally and installed it with npm i path/to/package.tgz but it shows an error that there is a problem while exporting the package an
npm i path/to/package.tgz