USEPA / useeio.js

Creative Commons Zero v1.0 Universal
1 stars 10 forks source link

Error loading `tslib` helper library. #2

Open ModelEarth opened 7 months ago

ModelEarth commented 7 months ago

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

ModelEarth commented 1 month 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