sidebar\common.js 8行目を↓に変更することで解決
return browser.runtime.getBackgroundPage().then(win => {