Skip to content

Incompatibility with Node 17 #279

@PanisSupraOmnia

Description

@PanisSupraOmnia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions