web-ext-translator icon indicating copy to clipboard operation
web-ext-translator copied to clipboard

"TypeError: n.tree is undefined" when load github repo while no "master" branch

Open yfdyh000 opened this issue 7 years ago • 4 comments

e.g. Load https://github.com/quassy/pwdhash with https://lusito.github.io/web-ext-translator/ Failed to import Github Project. Reason: TypeError: n.tree is undefined

Load https://github.com/quassy/pwdhash/tree/gh-pages is works.

yfdyh000 avatar Aug 20 '18 06:08 yfdyh000

hmm, I never saw a github repo with no master. Not sure what to do in such a case.. I could show a dropdown with available branches and if only one branch exists, automatically pick it?

Lusito avatar Aug 23 '18 19:08 Lusito

I'm seeing the same problem on my repo (https://github.com/danielrozenberg/snooze-pocket/), mine has a master branch

danielrozenberg avatar Jul 25 '20 07:07 danielrozenberg

I'm getting a different error with your repository. It complains about an unknown field "description" in the placeholders. According to the spec, there is no such field. There is only "content" and "example".

Lusito avatar Jul 26 '20 11:07 Lusito

🙈 my bad... I fixed my repo. Console errors in minified code are hard to read 🙈

danielrozenberg avatar Jul 26 '20 19:07 danielrozenberg