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
I just deleted my package-lock.json and reinstalled everything, so I'm pickup up the latest gettext-extractor and pofile, and I'm getting these errors in my build:
node_modules/gettext-extractor/dist/extractor.d.ts(1,25): error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
node_modules/gettext-extractor/dist/extractor.d.ts(23,36): error TS2702: 'pofile' only refers to a type, but is being used as a namespace here.
node_modules/gettext-extractor/dist/extractor.d.ts(24,53): error TS2702: 'pofile' only refers to a type, but is being used as a namespace here.
node_modules/gettext-extractor/dist/extractor.d.ts(25,58): error TS2702: 'pofile' only refers to a type, but is being used as a namespace here.
The text was updated successfully, but these errors were encountered:
pofile completely rewrote the types in the latest release causing this issue. Unfortunately I was not able to make my code work with the new types (and I don't seem to be the only one) so instead I've locked the version to 1.0.x. The fix is released with version 3.5.1.
I just deleted my package-lock.json and reinstalled everything, so I'm pickup up the latest
gettext-extractor
andpofile
, and I'm getting these errors in my build:The text was updated successfully, but these errors were encountered: