Open PanisSupraOmnia opened 2 years ago
It seems this is a breaking change made in Node 17. We haven't had a new toolchain release since Node 17 was released, so I'd suggest using Node 16 (or 14, both LTS) in the meantime.
Ok, thanks! When I originally ran into this incompatibility I set up a Docker image for builds, so I'll stick with that.
Hi, currently trying to run
npx fitbit-build
on Node 17 fails with an error because of the following: https://github.com/Fitbit/fitbit-sdk-toolchain/blob/58ea8a7d4f76420b2291589017869e801f9b829a/src/plugins/typescript/tslib.const.ts#L5-L6 The issue seems to be with the exports field in tslib'spackage.json
. It doesn't havepackage.json
as a specified export, so you end up with an 'ERR_PACKAGE_PATH_NOT_EXPORTED' error code. Let me know if there's any other useful info I can provide; I'm new to Node so I don't think I can PR a fix unless pointed in the right direction.