Stf: can't install stf on mac os

Created on 1 Jun 2018  路  11Comments  路  Source: openstf/stf

I can't get stf installed on my mac os:

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:190:
../../nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object'

It seems bufferutil version should be bumped...

Most helpful comment

Use node 8 for now. Easy with nvm.

All 11 comments

Please provide details like yourNode.js version.

$ npm -v
6.1.0

I faced the same issue and managed to find a workaround. Still have to remember though. :-(
I am now using Docker because it's easier to set up.

@gounthar what's your workaround?

I should have written it. I only found a few hints in my shell history.
```
npm install npm@latest -g
sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib
sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.4.dylib
npm install -g [email protected]
xcode-select -p

@gounthar didn't work for me. It's not a blocker to me though, I can use docker stf.
Last version of bufferutil is 3.0.5 btw

Sorry for that. I know I had a look at https://github.com/websockets/bufferutil/issues/17 for some commands I tried and that I had to go back to Node 8.

am facing the same issue,
16 warnings and 1 error generated.
make: * [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.

Any solution or workaround for this ? is it because [email protected] is no longer supported by node ?

Use node 8 for now. Easy with nvm.

@ryaz Could you help configure docker-compose.yml for mac os?

Was this page helpful?
0 / 5 - 0 ratings