You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be with the exports field in tslib's package.json. It doesn't have package.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.
The text was updated successfully, but these errors were encountered:
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.
Hi, currently trying to run
npx fitbit-build
on Node 17 fails with an error because of the following:fitbit-sdk-toolchain/src/plugins/typescript/tslib.const.ts
Lines 5 to 6 in 58ea8a7
package.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.The text was updated successfully, but these errors were encountered: