Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Taranjyot's avatar

AlgoliaSearch Javascript installation error using npm

I am trying to install algoliasearch but getting this error, i cannot understand the problem

vagrant@homestead:~/Code/workspace/rifttube$ npm install algoliasearch npm WARN deprecated [email protected]: Just use Array.isArray directly /home/vagrant/Code/workspace/rifttube └── [email protected] extraneous

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected] npm ERR! Linux 4.4.0-22-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "algoliasearch" npm ERR! node v5.12.0 npm ERR! npm v3.8.6 npm ERR! path ../semver/bin/semver npm ERR! code EPROTO npm ERR! errno -71 npm ERR! syscall symlink

npm ERR! EPROTO: protocol error, symlink '../semver/bin/semver' -> '/home/vagrant/Code/workspace/rifttube/node_modules/algoliasearch/node_modules/.bin/semver' 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/workspace/rifttube/npm-debug.log vagrant@homestead:~/Code/workspace/rifttube$

0 likes
1 reply
ilyahoilik's avatar

I have the same problem :(

...

@TARANJYOT, figured out. You must use npm install --no-bin-links instead of npm install. If you will see the error again, try to run again and everything will work.

Please or to participate in this conversation.