gettext.js icon indicating copy to clipboard operation
gettext.js copied to clipboard

Cannot set property '__version' of undefined

Open giloutho opened this issue 3 years ago • 4 comments

Bonjour,

Je fais un simple test avec Node version 14.16 après installation standard npm install gettext.js --save

le require comme indiqué dans le readme var i18n = require('gettext.js')(); me renvoie l'erreur citée dans le titre : Cannot set property '__version' of undefined.

giloutho avatar Mar 16 '21 00:03 giloutho

Likely fixed by 3d2fb6a46eb46745f1d7b9d928269f905df1ca77. Need to tag a new version.

Artoria2e5 avatar Jun 11 '21 06:06 Artoria2e5

Hi. I'm migrating gbtami/pychess-variants from browserify to rollup and needs to get over this issue. The mentioned commit fixed it. Do you have a plan to release a new version soon?

Fulmene avatar Oct 05 '21 15:10 Fulmene

Hi there, I just released v1.0.1 with the above mentioned commit. Let me know.

guillaumepotier avatar Oct 06 '21 07:10 guillaumepotier

Thanks! Worked like a charm.

Fulmene avatar Oct 06 '21 16:10 Fulmene