Hello,

Seems you can enable symlinks on VirtualBox.

I personally I haven't tested this, but worth to check:

http://stackoverflow.com/questions/24200333/symbolic-links-and-synced-folders-in-vagrant

Thanks
Alvaro.

On Mon, Feb 22, 2016 at 10:36 PM, Dirk Moll <[email protected]> wrote:

> Hi,
>
> have a php/java script project which has syncs the html folder between my
> windows host and the vagrant guest.
> config.vm.synced_folder "source/", "/var/www/html", create: true, owner:
> "www-data", group: "www-data"
>
> If i start the machine, move with cd /var/www/html/project into it and
> start a build process I got this error
> npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
> npm WARN notsup Not compatible with your operating system or architecture:
> [email protected]
> npm WARN [email protected] No repository field.
> npm WARN [email protected] No license field.
> npm ERR! Linux 3.13.0-77-generic
> npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
> npm ERR! node v4.3.1
> npm ERR! npm  v3.7.3
> npm ERR! path ../acorn/bin/acorn
> npm ERR! code EPROTO
> npm ERR! errno -71
> npm ERR! syscall symlink
>
> npm ERR! EPROTO: protocol error, symlink '../acorn/bin/acorn' ->
> '/var/www/html/project/node_modules/.bin/acorn'
> npm ERR!
> npm ERR! If you need help, you may report this error at:
> npm ERR!     <https://github.com/npm/npm/issues>
>
> npm ERR! Please include the following file with any support request:
> npm ERR!     /var/www/html/frontend/npm-debug.log
> vagrant@vagrant-ubuntu-trusty-64:/var/www/html/project$
>
> The build.sh file which starts the build process is starting external
> libraries which create symlinks from the folder...
> This is failing. How to solve this? Any hints?
>
> regards
> Dirk
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/7cbec07e-ad36-4758-8136-786de481c361%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/7cbec07e-ad36-4758-8136-786de481c361%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew%3DjUUB4G8JZMDA3q5VGoZYBZCpLo3PZNuDUmq0Rxae9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to