What version of Vagrant? What version of NG? What did you do? What did
you expect to happen? What happened instead? What did you try to
address the unexpected behavior? What operating system are you running
on? What provider are you using? What provisioner are you using?

If you ran into what I ran into then this might help:

# Vagrantfile

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
  config.vm.box_version = "0.2.0"
  config.vm.hostname = “foo-local"
  config.vm.network "forwarded_port", guest: 9000, host: 19000
  config.vm.provision "shell", path: "provision-privileged.sh", privileged: true
  config.vm.provision "shell", path: "provision-unprivileged.sh",
privileged: false
end

# provision-priveleged.shchsh --shell /bin/bash root
chsh --shell /bin/bash vagrant

if [ -f /etc/sudoers.d/vagrant ];
then
    echo "Deleting sudoers configuration file"
    rm /etc/sudoers.d/vagrant
else
    echo "No sudoers configuration file to delete"
fi
echo "Creating sudoers configuration file"
cp /vagrant/sudoers.vagrant /etc/sudoers.d/vagrant

if [ -f /etc/apt/apt.conf.d/99aptget ]
then
    echo "Deleting apt configuration file"
    rm /etc/apt/apt.conf.d/99aptget
else
    echo "No apt configuration file to delete"
fi
echo "Creating apt configuration file"
cp /vagrant/apt.conf /etc/apt/apt.conf.d/99aptget

# provision-unpriveleged.sh

if [ -f /home/vagrant/.profile ]
then
    echo "Deleting original .profile"
    rm /home/vagrant/.profile
fi
echo "Creating real .profile"
cp /vagrant/.profile /home/vagrant/.profile

sudo apt-get update

echo "Installing user packages"
sudo apt-get install tmux
sudo apt-get install lynx-cur
sudo apt-get install fortune
sudo apt-get install curl

echo "Installing development packages"
sudo apt-get install phantomjs
sudo apt-get install ruby1.9.1
## A short time is necessary for the Linux file system to recognize: gem
sleep 1
sudo gem install compass
sudo apt-get install nodejs
sudo apt-get install nodejs-legacy
sudo apt-get install npm
## A short time is necessary for the Linux file system to recognize: npm
sleep 1
sudo apt-get install git
sudo npm install -g bower
sudo npm install -g yo
sudo npm install -g grunt-cli
sudo npm install -g karma
sudo npm install -g generator-angular
sudo npm install -g jshint

On Wed, Nov 19, 2014 at 4:47 PM, Liz Theurer <[email protected]> wrote:
> Hi all,
>
> I'm having a lot of trouble getting Vagrant to work with Angular.  In
> particular, the npm install always comes back with errors.  Could someone
> share a vagrant file that successfully launches an angular app?
>
> Thanks!
>
> Liz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
Grant Rettke
[email protected] | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to