Hi, currently trying to run npx fitbit-build on Node 17 fails with an error because of the following:
|
const tslibPackage = require('tslib/package.json'); |
|
const tslibPath = require.resolve(`tslib/${tslibPackage.module}`); |
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.
Hi, currently trying to run
npx fitbit-buildon 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.jsonas 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.