How can I convert node.js applications into Ubuntu snaps?
I found this page on the Ubuntu developer website but the tutorial has been moved or removed.
My nodejs application is built on MEAN stack.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The tutorial referenced is very outdated and likely won't work anymore. Instead, use the node plugin when packaging a nodejs. For example you might use a part like this which also specifies the node version and build dependencies required:-
parts: slap: plugin: nodejs source: https://github.com/slap-editor/slap.git node-engine: 6.9.5 build-packages: - python - make - build-essential