seatonjiang / gitmoji-vscode

Gitmoji tool for git commit messages in VSCode
https://marketplace.visualstudio.com/items?itemName=seatonjiang.gitmoji-vscode
MIT License
277 stars 30 forks source link

TypeError: Cannot read properties of undefined (reading 't') on extension activation #42

Closed JuniorLoch closed 1 year ago

JuniorLoch commented 1 year ago

The extension fails to activate on startup thus not enabling the extension.showgitmoji command to make the emoji button on git tab work

This is the log that I got from vscode extension host

image

I went to where it broke in my local files but I have no idea what could be done to help, somehow vscode.l10n is undefined

image

If there is any aditional information that I could provide just let me know

ayumu-1212 commented 1 year ago

same thing happened to me

seatonjiang commented 1 year ago

Hi @ayumu-1212 @JuniorLoch

I probably found the problem because VSCODE is 1.73.1 in my test environment, and https://github.com/microsoft/vscode-l10n states that it needs to be at least 1.73.0.If the version is lower than 1.73.0, please update the VSCode version and try if the problem still occurs?

image

ayumu-1212 commented 1 year ago

Hi @seatonjiang cc: @JuniorLoch I update the VSCode version from 1.63.2 to 1.73.1, so this problem is solved. Thank you so much for your advise.

JuniorLoch commented 1 year ago

HI @ayumu-1212, @seatonjiang Updated the vscode version too, and it worked again, thank you guys.