Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on build #184

Closed
MrDelik opened this issue Dec 3, 2021 · 2 comments
Closed

Crash on build #184

MrDelik opened this issue Dec 3, 2021 · 2 comments

Comments

@MrDelik
Copy link

MrDelik commented Dec 3, 2021

Hi i get this error on every build i try

Error loading tslib helper library.
C:\Development\Fitbit\ClockFaces\Fitbit-line-clock\node_modules\@fitbit\sdk\lib\plugins\typescript\tslib.const.js:13
    throw e;
    ^

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './tslib.es6.js' is not defined by "exports" in C:\Development\Fitbit\ClockFaces\Fitbit-line-clock\node_modules\tslib\package.json
    at new NodeError (node:internal/errors:371:5)
    at throwExportsNotFound (node:internal/modules/esm/resolve:429:9)
    at packageExportsResolve (node:internal/modules/esm/resolve:683:3)
    at resolveExports (node:internal/modules/cjs/loader:482:36)
    at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.resolve (node:internal/modules/cjs/helpers:108:19)
    at Object.<anonymous> (C:\Development\Fitbit\ClockFaces\Fitbit-line-clock\node_modules\@fitbit\sdk\lib\plugins\typescript\tslib.const.js:8:31)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
@PanisSupraOmnia
Copy link

I've documented this issue over here, as well: Fitbit/fitbit-sdk-toolchain#279

@Hexxeh
Copy link
Contributor

Hexxeh commented Dec 6, 2021

This is a build issue by the looks of it, so I'll close this ticket and use the one filed on the toolchain issue.

@Hexxeh Hexxeh closed this as completed Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants