I have freshly installed Vagrant, Homestead and Laravel 5.4 in vagrant box. I had virtualbox installed before. I am trying to follow this tutorial - https://laracasts.com/discuss/channels/general-discussion/step-by-step-guide-to-installing-socketio-and-broadcasting-events-with-laravel-51?page=1
and I get below error while following step 6, which is to install socket.io, redis and express inside the laravel project "Blog". I have Windows 10 machine 64bit.
Error
vagrant@homestead:~/Code/Blog$ npm install express ioredis socket.io --save
npm WARN deprecated isarray@2.0.1: Just use Array.isArray directly
/home/vagrant/Code/Blog
├── ioredis@3.1.1
└── socket.io@2.0.2
npm ERR! Linux 4.4.0-66-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "express" "ioredis"
"socket.io" "--save"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! path ../mime/cli.js
npm ERR! code EPROTO
npm ERR! errno -71
npm ERR! syscall symlink
npm ERR! EPROTO: protocol error, symlink '../mime/cli.js' ->
'/home/vagrant/Code/Blog/node_modules/.bin/mime'
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! /home/vagrant/Code/Blog/npm-debug.log
via Murlidhar Fichadia
No comments:
Post a Comment