# Failed for upgrade sockte.io

**URL:** <https://discourse.lynckia.com/t/failed-for-upgrade-sockte-io/249>\
**Category:** Uncategorized\
**Created:** [October 21, 2015, 8:06am UTC](https://discourse.lynckia.com/t/failed-for-upgrade-sockte-io/249 "2015-10-21T08:06:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zuo\_Huaya](https://avatars.discourse-cdn.com/v4/letter/z/eb8c5e/32.png) [@Zuo\_Huaya](https://discourse.lynckia.com/u/Zuo_Huaya)\
**Post date:** [October 21, 2015, 8:06am UTC](https://discourse.lynckia.com/t/failed-for-upgrade-sockte-io/249/1 "2015-10-21T08:06:13Z")

</div>

Hi

```
Current socket.io version is 0.9.16 in Licode. I want use newest 

```

version 1.3.7. but I can’t building successfully.  
Could you help give some guidance for upgrade [socket.io](http://socket.io) to newest  
version?

```
my steps for upgrade:
firstly, I download newest socket.io, and replace directory socket.io 

```

in node\_module  
second, change below command in file ‘installErizo\_controller.sh’

- npm install --loglevel error amqp [socket.io](http://socket.io)@1.3.7 log4js node-getopt\*

```
lastly, rebuild licode with below command:
#cd licode/scripts
#./installErizo.sh

After that failed logs:

```

_Installing erizoController…[erizo\_controller] Installing node\_modules  
for erizo\_controller\> utf-8-validate@1.2.1 install  
/shcodede\_modules/socket.iode\_modules/engine.iode\_modulesde\_modules/utf-8-validate\>  
node-gyp rebuildgyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: Cannot  
find module 'path-array’gyp ERR! stack at  
Function.Module.\_resolveFilename (module.js:338:15)gyp ERR! stack at  
Function.Module.\_load (module.js:280:25)gyp ERR! stack at  
Module.require (module.js:364:17)gyp ERR! stack at require  
(module.js:380:17)gyp ERR! stack at Object.  
(/usrbde\_modulesde-gypb/configure.js:16:17)gyp ERR! stack at  
Module.\_compile (module.js:456:26)gyp ERR! stack at  
Object.Module.\_extensions…js (module.js:474:10)gyp ERR! stack at  
Module.load (module.js:356:32)gyp ERR! stack at Function.Module.\_load  
(module.js:312:12)gyp ERR! stack at Module.require  
(module.js:364:17)gyp ERR! System Linux 2.6.32-279.el6.x86\_64gyp ERR!  
command “node” “/usrbde\_modules/npmde\_modulesde-gyp/binde-gyp.js”  
"rebuild"gyp ERR! cwd  
/shcodede\_modules/socket.iode\_modules/engine.iode\_modulesde\_modules/utf-8-validategyp  
ERR! node -v v0.10.36gyp ERR! node-gyp -v v3.0.3gyp ERR! This is a bug in  
 `node-gyp`.gyp ERR! Try to update node-gyp and file an Issue if it does not  
help:gyp ERR! [https://github.com/nodejs/node-gyp/issues](https://github.com/nodejs/node-gyp/issues)_
