TEDxAmsterdam / ARCHIVED_Frontend

ReactJS Frontend for TEDxAmsterdam
3 stars 6 forks source link

Installing and running in Vagrant #6

Open Domsku opened 8 years ago

Domsku commented 8 years ago

I'm trying to install and run the project via Vagrant. After updating vagrant (1.8.1) and navigating into the project I ran npm install.

During the installation I get an error saying npm ERR! EPROTO: protocol error, symlink '../acorn/bin/acorn' -> '/var/www/node_modules/.bin/acorn'

Also tried running the install with --no-bin-links but this gives me a different error: Maximum call stack size exceeded Which seems like a npm issue. Anyone else who ran/ is running into these issues?

Randynamic commented 8 years ago

No I didn't ran into this weird. Can you maybe try to look into this when you've got the time (@domsku I know your a master with this).

Domsku commented 8 years ago

I think I found out some more. I'm running OSX with Virtual Box as a virtual machine. Looks like there is known bug with VirtualBox and symlinks on the host (see #1 and #2) I'll try to find out some more and see if I can find a solution.

Which kind of VM's is everyone using?

@Randynamic Maybe you already had the modules installed before opening/ running Vagrant? Can you remove your node_modules folder and try running npm install again from within the vm?

Randynamic commented 8 years ago

@Domsku Ok I'll check that.

darilldrems commented 8 years ago

I use virtual box on my ubuntu 14.04 machine.

dligthart commented 8 years ago

Why use VM on MacOSX and not just run it locally ; install node using homebrew

http://brew.sh/

$ brew update $ brew install node

darilldrems commented 8 years ago

@dligthart so that everyone uses the same machine config to develop and reduces errors such as it works on my laptop.