stf icon indicating copy to clipboard operation
stf copied to clipboard

STF local is not starting up

Open tadesushilgithub opened this issue 10 years ago • 8 comments

Hi,

Today I have installed the STF local but I am getting below error "Received an unsupported protocol version. This port is for RethinkDB queries" Rethinkdb version is : rethinkdb 2.2.5 (CLANG 7.0.2 (clang-700.1.81)). Can you please tell me what is wrong. Please find attached snapshot for more details, screen shot 2016-04-07 at 7 33 08 pm

tadesushilgithub avatar Apr 07 '16 14:04 tadesushilgithub

Hi There, I got the same issue as here..

Could please help me how to fix it?

Cheers,

viecode09 avatar May 31 '16 03:05 viecode09

the same issue Could please help me how to fix it?

myqqai avatar Jun 01 '16 11:06 myqqai

Can you paste the output of stf doctor ?

gunta avatar Jun 01 '16 11:06 gunta

Users/lutvirosyady/stf/node_modules/zmq/node_modules/bindings/bindings.js:83
        throw e
        ^

Error: Module version mismatch. Expected 48, got 14.
    at Error (native)
    at Object.Module._extensions..node (module.js:568:18)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at bindings (/Users/lutvirosyady/stf/node_modules/zmq/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/Users/lutvirosyady/stf/node_modules/zmq/lib/index.js:6:30)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)

viecode09 avatar Jun 06 '16 04:06 viecode09

You updated node and didn't run 'nom rebuild' to rebuild native extensions. This is like the 5th time this exact same question has been asked in the last 1-2 weeks.

On Monday, 6 June 2016, Lutvi Rosyady [email protected] wrote:

Users/lutvirosyady/stf/node_modules/zmq/node_modules/bindings/bindings.js:83 throw e ^

Error: Module version mismatch. Expected 48, got 14. at Error (native) at Object.Module._extensions..node (module.js:568:18) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) at Module.require (module.js:468:17) at require (internal/module.js:20:19) at bindings (/Users/lutvirosyady/stf/node_modules/zmq/node_modules/bindings/bindings.js:76:44) at Object. (/Users/lutvirosyady/stf/node_modules/zmq/lib/index.js:6:30) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) at Module.require (module.js:468:17) at require (internal/module.js:20:19)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openstf/stf/issues/296#issuecomment-223864910, or mute the thread https://github.com/notifications/unsubscribe/AAB-_TExcPTqhIS-BUj2VZZf2YUk3I3aks5qI51zgaJpZM4ICGVg .

sorccu avatar Jun 06 '16 04:06 sorccu

My apologize @sorccu.. It's been fixed when I upgrade rethinkdb version to latest version..

Thanks...

viecode09 avatar Jun 06 '16 06:06 viecode09

Ok, so it looks like npm rebuild alone is not enough on Node 6.x. For future reference, if it still doesn't work, I would recommend simply doing rm -rf node_modules followed by npm install. It should then work as usual.

sorccu avatar Jun 06 '16 15:06 sorccu

@sorccu Yeah, npm rebuild is helping me resolving this issue, But another thing that we need to consider is RethinkDB version which somehow not supporting STF version related with this issue..

Thanks for your support anyway.. Really appreciate it much...

viecode09 avatar Jun 07 '16 04:06 viecode09