Error running vendor/bin/install


#1

I followed the installation guide and things went mostly smooth till step 3.1 (Install the Application - Run the installation commands).

  • OS: Windows 10
  • Vagrant 2.1.1
  • VirtualBox 5.2.12 r122591 (Qt5.6.2)

The following error occurs when running vendor/bin/install:

[info]

[info] npm ERR!
[info] path …/autoprefixer/bin/autoprefixer
npm ERR! code EPROTO

[info] npm ERR! errno
[info] -71
npm ERR! syscall
[info] symlink

[info] npm ERR!
[info] EPROTO: protocol error, symlink ‘…/autoprefixer/bin/autoprefixer’ -> ‘/data/shop/development/current/node_modules/@spryker/oryx-for-zed/node_modules/.bin/autoprefixer’

[info]

[info] npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-06-25T15_24_49_963Z-debug.log

In CommandLineExecutable.php line 101:

Aborted install…

Any suggestions on how to proceed?


#2

I was able to solve the problem myself. The error was to not use administrator privileges when starting gitbash. In order to fix things the following steps where applied:

  • vagrant halt (using the same privileges used before when calling vagrant up)
  • start gitbash with administrator privileges
  • vagrant up
  • redo steps in section 3 of installation guide
    ** vagrant ssh
    ** composer global require hirak/prestissimo
    ** ulimit -n 65535
    ** composer install
    ** vendor/bin/install

This time the process finished without errors.