0👍
Why are you exporting a require statement. You cant export a require statement.
Is your function uses sidebarmenu , it will be exported with it. So no need to do it in your module.exports.
Just do module.exports{install}
, without the sidebarmenu.
Source:stackexchange.com