Open hackable opened 12 years ago
any update on how to achieve this.
@hackable I'm trying to use this too. But I cannot get it working within node.
i believe your node-stringprep decency is failing to install
thats right.
de_modules\node-gyp\bin\node-gyp.js" rebuild
node-stringprep.cc
..\node-stringprep.cc(3): fatal error C1083: Cannot open include file: 'unicode
/unistr.h': No such file or directory [C:\Users\shawnlim\Documents\Websites\nod
eprojects\fb-chat\node_modules\node-stringprep\build\node-stringprep.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:236:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modu
les\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\shawnlim\Documents\Websites\nodeprojects\fb-chat\node_modu
les\node-stringprep
gyp ERR! node -v v0.8.14
gyp ERR! node-gyp -v v0.7.1
gyp ERR! not ok
npm ERR! node-stringprep@0.1.5 install: node-gyp rebuild
npm ERR! cmd "/c" "node-gyp rebuild"
failed with 1
npm ERR!
npm ERR! Failed at the node-stringprep@0.1.5 install script.
npm ERR! This is most likely a problem with the node-stringprep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls node-stringprep
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7600 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "node-stringprep" npm ERR! cwd C:\Users\shawnlim\Documents\Websites\nodeprojects\fb-chat npm ERR! node -v v0.8.14 npm ERR! npm -v 1.1.65 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\shawnlim\Documents\Websites\nodeprojects\fb-chat\npm-debug .log npm ERR! not ok code 0
@SideraX any fix for this?
any solution for this issue? how can I release the resources that the facebookClient is taking?
It would be great to have a methord to disconnect client from facebook chat
something like facebookClient.disconnect() maybe