Recognition

No awards yet.

Posts

1 Posts
  • Published Question

    Npm Install not working with User Data File

    Hi all I'm looking to install dependencies using npm install, then run casperjs, all from droplet creation using --user-data-file: doctl compute droplet create test1 --image node --size 4gb --region nyc1 --ssh-keys (...
    Accepted Answer: Hi @gabe84700 You should be able to do it with this: ``` !/bin/bash apt-get update apt-get -y install npm libfontconfig npm install -g phantomjs-prebuilt npm install -g casperjs ``` Have a look at this tutorial: http...
    1 By gabe84700 Node.js DigitalOcean Ubuntu 16.04