Open ModelEarth opened 7 months ago
Lakshit and Anubhav fixed the tslib error in the npm build Sept 15, 2024 in the modelearth/useeio.js fork. It was a compatibility issue between rollup-typescript plugin and tslib. On making a few changes to the package.json and tsconfig.json files, they were able to run the build and create dist/useeio.js using npm run build
Occurs when running
npm run build
Error loading
tslib
helper library. [!] Error: Package subpath './package.json' is not defined by "exports" in /Users/[username]/Library/Data/useeio.js/node_modules/rollup-plugin-typescript2/node_modules/tslib/package.json