3

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.

3

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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.