I created a snap package sourced from my github repo named ubuntunews. It compiled without any errors and installed it without errors either. However when I type in the command
ubuntunews to run it, it gives me an error
bash: /usr/local/bin/ubuntunews: No such file or directory which is weird because the snap path is /snap/bin/ubuntunews.
I think it's because I installed the ubuntunews as a regular package some time ago but I've uninstalled it now and removed the ubuntunews script from /usr/local/bin but the snap command still doesn't work and keeps on displaying the same error. How do I go around that, this is my first experience with building snap packages.
name: ubuntunews version: '1.0' summary: Get latest news from omgubuntu website description: | Webcraped omgubuntu website to get the latest news about your favourite linux distro and it's flavours. grade: devel confinement: devmode apps: ubuntunews: command: bin/ubuntunews plugs: [network] parts: ubuntu-news: source: https://github.com/Abugbilla/ubuntunews source-type: git plugin: python python-version: python3 python-packages: [bs4]