Support Article
Co-browse server setup issue
Summary
Installing Co-browse, the redis and mongo set up is complete. Log server is set up and running.
However while configuring the Co-Browse server, facing an error.
Error Messages
npm ERR! git clone [email protected]:file:dependencies/socket.io undefined
npm ERR! git clone [email protected]:file:dependencies/socket.io undefined
npm WARN excluding symbolic link lib/socket.io-client.js -> io.js
npm ERR! notarget No compatible version found: socket.io@'file:dependencies/socket.io'
Steps to Reproduce
Follow the steps as per installation guide of Pega Co-browse
Root Cause
Incorrect version of NPM (Node Package Manager) is used.
Resolution
Check the system requirements in installation guide.
The suggested Node JS version is 0.10.36 and the suggested NPM version is NPM v2.7.x.
NPM always gets installed along with Node JS. But, the NPM version that gets installed with Node 0.10.36 is an older version (some 1.x version).
User must explicitly upgrade the NPM to 2.7.x version. It is also important to not upgrade to any version other than 2.7.x.
To upgrade to 2.7.6, run npm install –g [email protected] at the console.
Updating to [email protected] resolves the reported issue.
Published August 25, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.