Git Product home page Git Product logo

blpapi-node's People

Contributors

apaprocki avatar ericvw avatar prdn avatar thmiceli avatar yupinghu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blpapi-node's Issues

Session instances don't unload from memory

When session can't connect to server, it hangs. To prevent it we may create new instance of session but old versions won't unload from memory.
Is there any way to reconnect using existing session?

Here is a small code example:

var config = { serverHost: '127.0.0.1', serverPort: 8199 }; // INCORRECT(!!!) IP
var seclist = ['GXG4 Index', 'GXG4 Comdty'];

var blpapi = require('blpapi');
var session = new blpapi.Session(config);
var service_refdata = 1;

var responses = 0;
function checkStop() {
    responses++;
    if (responses == 1)
        session.stop();
}

session.on('SessionStarted', function(m) {
    console.log('SessionStarted');
    session.openService('//blp/refdata', service_refdata);
});
session.on('ServiceOpened', function(m) {
    console.log('ServiceOpened');
    if (m.correlations[0].value == service_refdata) {
        session.request('//blp/refdata', 'ReferenceDataRequest',
            { securities: seclist, fields: ['NAME', 'TICKER'] }, 100);
    }
});
session.on('ReferenceDataResponse', function(m) {
    console.log(JSON.stringify(m));
    if (m.correlations[0].value === 100 && m.eventType === 'RESPONSE')
        checkStop();
});
session.on('SessionTerminated', function(m) {
    console.log('destroy');
    session.destroy();
});

console.log('starting...');
session.start();

UserEntitlementsRequest working?

I am not getting any UserEntitlementsResponse triggered:

'use strict';

const blpapi = require('blpapi');
const serviceId = 1;

module.exports = {
subscribe: function () {
try {
var session = new blpapi.Session({ host: '127.0.0.1', port: 8194 });

        session.on('SessionStarted', function (m) {
            console.log('Service Started');
            session.openService('//blp/apiauth', serviceId);
        });

        session.on('ServiceOpened', function (m) {
            console.log('Service Started');
            session.request('//blp/apiauth', 'UserEntitlementsRequest', { userInfo: { uuid: myuuid } }, 3);
        });

        session.on('UserEntitlementsResponse', function (m) {
            console.log(m);
        });

        session.on('Response', function (m) {
            console.log(m);
        });

        session.start();
    }
    catch (e) {
        console.error(e);
    }
}

}

Library not loaded: libblpapi3_64.so

I have installed blpapi (the build was successful) however i am getting an error in blpapijs.node saying it is unable to load libblpapi3_64.so.

OS: OS X Yosemite
Node: v0.10.16
Stack trace:

Error: dlopen(/Users/dominictaylor/Sites/bloomberg/node_modules/blpapi/build/Release/blpapijs.node, 1): Library not loaded: libblpapi3_64.so
  Referenced from: /Users/dominictaylor/Sites/bloomberg/node_modules/blpapi/build/Release/blpapijs.node
  Reason: image not found
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/dominictaylor/Sites/bloomberg/node_modules/blpapi/blpapi.js:4:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Please help me in resolving this issue,

npm install failure

I tried a simple npm install blpapi and it screamed at me:

Wahs-MBP:Quiver kengz$ npm install blpapi
-
> [email protected] install /Users/kengz/Google Drive/Quiver/node_modules/blpapi
> node-gyp configure build

child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/blpapijs/blpapijs.o
clang: error: no such file or directory: 'Drive/Quiver/node_modules/blpapi/deps/blpapi/include-3.8.1.1'
make: *** [Release/obj.target/blpapijs/blpapijs.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:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /Users/kengz/Google Drive/Quiver/node_modules/blpapi
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "blpapi"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! This is most likely a problem with the blpapi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls blpapi
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/kengz/Google Drive/Quiver/npm-debug.log
Wahs-MBP:Quiver kengz$ 

Below is the npm debug log:

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'blpapi' ]
2 info using [email protected]
3 info using [email protected]
4 silly cache add args [ 'blpapi', null ]
5 verbose cache add spec blpapi
6 silly cache add parsed spec { raw: 'blpapi',
6 silly cache add   scope: null,
6 silly cache add   name: 'blpapi',
6 silly cache add   rawSpec: '',
6 silly cache add   spec: '*',
6 silly cache add   type: 'range' }
7 verbose addNamed blpapi@*
8 silly addNamed semver.valid null
9 silly addNamed semver.validRange *
10 silly addNameRange { name: 'blpapi', range: '*', hasData: false }
11 silly mapToRegistry name blpapi
12 silly mapToRegistry using default registry
13 silly mapToRegistry registry https://registry.npmjs.org/
14 silly mapToRegistry uri https://registry.npmjs.org/blpapi
15 verbose addNameRange registry:https://registry.npmjs.org/blpapi not in flight; fetching
16 verbose request uri https://registry.npmjs.org/blpapi
17 verbose request no auth needed
18 info attempt registry request try #1 at 1:44:59 PM
19 verbose request id fef6c904e4bf2e19
20 verbose etag "5EKQ8US0IVJ0KRMZ2CQC43CV2"
21 http request GET https://registry.npmjs.org/blpapi
22 http 304 https://registry.npmjs.org/blpapi
23 silly get cb [ 304,
23 silly get   { date: 'Fri, 24 Apr 2015 17:44:59 GMT',
23 silly get     via: '1.1 varnish',
23 silly get     'last-modified': 'Fri, 24 Apr 2015 17:44:59 GMT',
23 silly get     'cache-control': 'max-age=60',
23 silly get     etag: '"5EKQ8US0IVJ0KRMZ2CQC43CV2"',
23 silly get     age: '0',
23 silly get     connection: 'keep-alive',
23 silly get     'x-served-by': 'cache-atl6231-ATL',
23 silly get     'x-cache': 'MISS',
23 silly get     'x-cache-hits': '0',
23 silly get     'x-timer': 'S1429897499.434368,VS0,VE53',
23 silly get     vary: 'Accept' } ]
24 verbose etag https://registry.npmjs.org/blpapi from cache
25 verbose get saving blpapi to /Users/kengz/.npm/registry.npmjs.org/blpapi/.cache.json
26 silly addNameRange number 2 { name: 'blpapi', range: '*', hasData: true }
27 silly addNameRange versions [ 'blpapi',
27 silly addNameRange   [ '0.1.0',
27 silly addNameRange     '0.1.1',
27 silly addNameRange     '0.1.2',
27 silly addNameRange     '0.1.3',
27 silly addNameRange     '0.1.4',
27 silly addNameRange     '0.1.5',
27 silly addNameRange     '0.1.6',
27 silly addNameRange     '0.1.7',
27 silly addNameRange     '0.1.9',
27 silly addNameRange     '0.1.10',
27 silly addNameRange     '0.1.11',
27 silly addNameRange     '0.1.12',
27 silly addNameRange     '0.1.13',
27 silly addNameRange     '0.1.14',
27 silly addNameRange     '0.1.15',
27 silly addNameRange     '1.0.0',
27 silly addNameRange     '1.1.0',
27 silly addNameRange     '1.2.0' ] ]
28 verbose addNamed [email protected]
29 silly addNamed semver.valid 1.2.0
30 silly addNamed semver.validRange 1.2.0
31 silly cache afterAdd [email protected]
32 verbose afterAdd /Users/kengz/.npm/blpapi/1.2.0/package/package.json not in flight; writing
33 verbose afterAdd /Users/kengz/.npm/blpapi/1.2.0/package/package.json written
34 silly install resolved [ { name: 'blpapi',
34 silly install resolved     version: '1.2.0',
34 silly install resolved     main: './blpapi.js',
34 silly install resolved     description: 'Bloomberg Open API (BLPAPI) binding for node.js',
34 silly install resolved     os: [ 'linux', 'win32', 'darwin' ],
34 silly install resolved     cpu: [ 'x64', 'ia32' ],
34 silly install resolved     scripts: { install: 'node-gyp configure build' },
34 silly install resolved     dependencies: { 'custom-error-generator': '7.0.0' },
34 silly install resolved     repository:
34 silly install resolved      { type: 'git',
34 silly install resolved        url: 'https://github.com/bloomberg/blpapi-node.git' },
34 silly install resolved     bugs:
34 silly install resolved      { url: 'https://github.com/bloomberg/blpapi-node/issues',
34 silly install resolved        email: '[email protected]' },
34 silly install resolved     maintainers: [ [Object], [Object] ],
34 silly install resolved     keywords:
34 silly install resolved      [ 'finance',
34 silly install resolved        'stocks',
34 silly install resolved        'stock',
34 silly install resolved        'quotes',
34 silly install resolved        'tick',
34 silly install resolved        'realtime',
34 silly install resolved        'market' ],
34 silly install resolved     license: 'MIT',
34 silly install resolved     engines: { node: '>=0.6' },
34 silly install resolved     gitHead: '334a2b13dbb3a82a33ff4544a6b81f01defbc535',
34 silly install resolved     homepage: 'https://github.com/bloomberg/blpapi-node',
34 silly install resolved     _id: '[email protected]',
34 silly install resolved     _shasum: '28bb7d2a191ec9eac3092c28e20d81f26c6efd79',
34 silly install resolved     _from: 'blpapi@*',
34 silly install resolved     _npmVersion: '2.7.1',
34 silly install resolved     _nodeVersion: '0.12.0',
34 silly install resolved     _npmUser: { name: 'ericvw', email: '[email protected]' },
34 silly install resolved     dist:
34 silly install resolved      { shasum: '28bb7d2a191ec9eac3092c28e20d81f26c6efd79',
34 silly install resolved        tarball: 'http://registry.npmjs.org/blpapi/-/blpapi-1.2.0.tgz' },
34 silly install resolved     directories: {},
34 silly install resolved     _resolved: 'https://registry.npmjs.org/blpapi/-/blpapi-1.2.0.tgz',
34 silly install resolved     readme: 'ERROR: No README data found!' } ]
35 info install [email protected] into /Users/kengz/Google Drive/Quiver
36 info installOne [email protected]
37 verbose installOne of blpapi to /Users/kengz/Google Drive/Quiver not in flight; installing
38 verbose lock using /Users/kengz/.npm/_locks/blpapi-87077b44487570ec.lock for /Users/kengz/Google Drive/Quiver/node_modules/blpapi
39 silly install write writing blpapi 1.2.0 to /Users/kengz/Google Drive/Quiver/node_modules/blpapi
40 silly cache addNamed cb [email protected]
41 verbose unbuild node_modules/blpapi
42 verbose gentlyRm vacuuming /Users/kengz/Google Drive/Quiver/node_modules/blpapi
43 verbose tar unpack /Users/kengz/.npm/blpapi/1.2.0/package.tgz
44 verbose tar unpacking to /Users/kengz/Google Drive/Quiver/node_modules/blpapi
45 verbose gentlyRm vacuuming /Users/kengz/Google Drive/Quiver/node_modules/blpapi
46 silly gunzTarPerm modes [ '755', '644' ]
47 silly gunzTarPerm extractEntry package.json
48 silly gunzTarPerm extractEntry README.md
49 silly gunzTarPerm extractEntry LICENSE
50 silly gunzTarPerm extractEntry blpapi.js
51 silly gunzTarPerm extractEntry .travis.yml
52 silly gunzTarPerm extractEntry binding.gyp
53 silly gunzTarPerm extractEntry deps/blpapi/LICENSE
54 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_logging.h
55 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_abstractsession.h
56 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_constant.h
57 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_correlationid.h
58 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_datetime.h
59 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_defs.h
60 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_diagnosticsutil.h
61 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_dispatchtbl.h
62 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_element.h
63 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_error.h
64 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_event.h
65 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_eventdispatcher.h
66 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_eventformatter.h
67 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_exception.h
68 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_identity.h
69 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_call.h
70 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_message.h
71 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_name.h
72 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_providersession.h
73 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_request.h
74 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_resolutionlist.h
75 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_schema.h
76 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_service.h
77 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_session.h
78 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_sessionoptions.h
79 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_streamproxy.h
80 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_subscriptionlist.h
81 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_topic.h
82 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_topiclist.h
83 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_types.h
84 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_versioninfo.h
85 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_message.h
86 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_abstractsession.h
87 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_constant.h
88 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_correlationid.h
89 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_datetime.h
90 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_defs.h
91 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_diagnosticsutil.h
92 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_dispatchtbl.h
93 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_element.h
94 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_error.h
95 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_event.h
96 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_eventdispatcher.h
97 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_eventformatter.h
98 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_exception.h
99 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_highresolutionclock.h
100 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_identity.h
101 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_logging.h
102 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_call.h
103 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_name.h
104 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_providersession.h
105 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_request.h
106 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_resolutionlist.h
107 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_schema.h
108 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_service.h
109 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_session.h
110 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_sessionoptions.h
111 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_streamproxy.h
112 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_subscriptionlist.h
113 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_timepoint.h
114 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_topic.h
115 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_topiclist.h
116 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_types.h
117 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_versioninfo.h
118 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_versionmacros.h
119 silly gunzTarPerm extractEntry deps/blpapi/linux/libblpapi3_32.so
120 silly gunzTarPerm extractEntry deps/blpapi/linux/libblpapi3_64.so
121 silly gunzTarPerm extractEntry deps/blpapi/osx/libblpapi3_32.so
122 silly gunzTarPerm extractEntry deps/blpapi/osx/libblpapi3_64.so
123 silly gunzTarPerm extractEntry deps/blpapi/win/blpapi3_32.lib
124 silly gunzTarPerm extractEntry deps/blpapi/win/blpapi3_64.lib
125 silly gunzTarPerm extractEntry examples/AuthorizationApplication.js
126 silly gunzTarPerm extractEntry examples/FieldSearchRequest.js
127 silly gunzTarPerm extractEntry examples/HistoricalDataRequest.js
128 silly gunzTarPerm extractEntry examples/IntradayBarRequest.js
129 silly gunzTarPerm extractEntry examples/IntradayTickRequest.js
130 silly gunzTarPerm extractEntry examples/Console.js
131 silly gunzTarPerm extractEntry examples/MarketSubUnsubscription.js
132 silly gunzTarPerm extractEntry examples/MarketSubscription.js
133 silly gunzTarPerm extractEntry examples/MarketVwapSubscription.js
134 silly gunzTarPerm extractEntry examples/OptionChain.js
135 silly gunzTarPerm extractEntry examples/MarketBarSubscription.js
136 silly gunzTarPerm extractEntry output.i
137 silly gunzTarPerm extractEntry blpapijs.cpp
138 info preinstall [email protected]
139 silly prepareForInstallMany adding [email protected] from blpapi dependencies
140 silly cache add args [ '[email protected]', null ]
141 verbose cache add spec [email protected]
142 silly cache add parsed spec { raw: '[email protected]',
142 silly cache add   scope: null,
142 silly cache add   name: 'custom-error-generator',
142 silly cache add   rawSpec: '7.0.0',
142 silly cache add   spec: '7.0.0',
142 silly cache add   type: 'version' }
143 verbose addNamed [email protected]
144 silly addNamed semver.valid 7.0.0
145 silly addNamed semver.validRange 7.0.0
146 silly mapToRegistry name custom-error-generator
147 silly mapToRegistry using default registry
148 silly mapToRegistry registry https://registry.npmjs.org/
149 silly mapToRegistry uri https://registry.npmjs.org/custom-error-generator
150 verbose addNameVersion registry:https://registry.npmjs.org/custom-error-generator not in flight; fetching
151 verbose request uri https://registry.npmjs.org/custom-error-generator
152 verbose request no auth needed
153 info attempt registry request try #1 at 1:45:01 PM
154 verbose etag "4Q7QN02P51B0M7JWUZHY1O1AN"
155 http request GET https://registry.npmjs.org/custom-error-generator
156 http 304 https://registry.npmjs.org/custom-error-generator
157 silly get cb [ 304,
157 silly get   { date: 'Fri, 24 Apr 2015 17:45:01 GMT',
157 silly get     via: '1.1 varnish',
157 silly get     'last-modified': 'Fri, 24 Apr 2015 17:45:01 GMT',
157 silly get     'cache-control': 'max-age=60',
157 silly get     etag: '"4Q7QN02P51B0M7JWUZHY1O1AN"',
157 silly get     age: '0',
157 silly get     connection: 'keep-alive',
157 silly get     'x-served-by': 'cache-atl6225-ATL',
157 silly get     'x-cache': 'MISS',
157 silly get     'x-cache-hits': '0',
157 silly get     'x-timer': 'S1429897501.386249,VS0,VE33',
157 silly get     vary: 'Accept' } ]
158 verbose etag https://registry.npmjs.org/custom-error-generator from cache
159 verbose get saving custom-error-generator to /Users/kengz/.npm/registry.npmjs.org/custom-error-generator/.cache.json
160 silly cache afterAdd [email protected]
161 verbose afterAdd /Users/kengz/.npm/custom-error-generator/7.0.0/package/package.json not in flight; writing
162 verbose afterAdd /Users/kengz/.npm/custom-error-generator/7.0.0/package/package.json written
163 silly install resolved [ { name: 'custom-error-generator',
163 silly install resolved     version: '7.0.0',
163 silly install resolved     description: 'Custom errors and exceptions in Node.js',
163 silly install resolved     main: 'error.js',
163 silly install resolved     scripts: { test: 'make test' },
163 silly install resolved     engines: [ 'node >=0.6.0' ],
163 silly install resolved     config: { blanket: [Object], 'travis-cov': [Object] },
163 silly install resolved     author: { name: 'Jesse Proulx', email: '[email protected]' },
163 silly install resolved     license: 'ISC',
163 silly install resolved     devDependencies:
163 silly install resolved      { mocha: '',
163 silly install resolved        should: '',
163 silly install resolved        blanket: '',
163 silly install resolved        'mocha-lcov-reporter': '',
163 silly install resolved        jshint: '',
163 silly install resolved        'travis-cov': '',
163 silly install resolved        'codeclimate-test-reporter': '',
163 silly install resolved        coveralls: '' },
163 silly install resolved     repository:
163 silly install resolved      { type: 'git',
163 silly install resolved        url: 'https://github.com/jproulx/node-custom-error.git' },
163 silly install resolved     keywords: [ 'error', 'errors', 'error factory', 'custom error' ],
163 silly install resolved     bugs: { url: 'https://github.com/jproulx/node-custom-error/issues' },
163 silly install resolved     homepage: 'https://github.com/jproulx/node-custom-error',
163 silly install resolved     _id: '[email protected]',
163 silly install resolved     dist:
163 silly install resolved      { shasum: 'b16f8d09636327f69ae80a1043766f30f4506408',
163 silly install resolved        tarball: 'http://registry.npmjs.org/custom-error-generator/-/custom-error-generator-7.0.0.tgz' },
163 silly install resolved     _from: '[email protected]',
163 silly install resolved     _npmVersion: '1.4.3',
163 silly install resolved     _npmUser: { name: 'jproulx', email: '[email protected]' },
163 silly install resolved     maintainers: [ [Object] ],
163 silly install resolved     directories: {},
163 silly install resolved     _shasum: 'b16f8d09636327f69ae80a1043766f30f4506408',
163 silly install resolved     _resolved: 'https://registry.npmjs.org/custom-error-generator/-/custom-error-generator-7.0.0.tgz',
163 silly install resolved     readme: 'ERROR: No README data found!' } ]
164 info install [email protected] into /Users/kengz/Google Drive/Quiver/node_modules/blpapi
165 info installOne [email protected]
166 verbose installOne of custom-error-generator to /Users/kengz/Google Drive/Quiver/node_modules/blpapi not in flight; installing
167 verbose lock using /Users/kengz/.npm/_locks/custom-error-generator-8c7673ecf0ada297.lock for /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
168 silly install write writing custom-error-generator 7.0.0 to /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
169 silly cache addNamed cb [email protected]
170 verbose unbuild node_modules/blpapi/node_modules/custom-error-generator
171 verbose gentlyRm vacuuming /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
172 verbose tar unpack /Users/kengz/.npm/custom-error-generator/7.0.0/package.tgz
173 verbose tar unpacking to /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
174 verbose gentlyRm vacuuming /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
175 silly gunzTarPerm modes [ '755', '644' ]
176 silly gunzTarPerm extractEntry package.json
177 silly gunzTarPerm extractEntry .npmignore
178 silly gunzTarPerm extractEntry README.md
179 silly gunzTarPerm extractEntry error.js
180 silly gunzTarPerm extractEntry test.js
181 silly gunzTarPerm extractEntry .jshintrc
182 silly gunzTarPerm extractEntry .travis.yml
183 silly gunzTarPerm extractEntry Makefile
184 info preinstall [email protected]
185 silly install resolved []
186 verbose about to build /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
187 info build /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
188 verbose linkStuff [ false,
188 verbose linkStuff   false,
188 verbose linkStuff   false,
188 verbose linkStuff   '/Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules' ]
189 info linkStuff [email protected]
190 verbose linkBins [email protected]
191 verbose linkMans [email protected]
192 verbose rebuildBundles [email protected]
193 info install [email protected]
194 info postinstall [email protected]
195 verbose unlock done using /Users/kengz/.npm/_locks/custom-error-generator-8c7673ecf0ada297.lock for /Users/kengz/Google Drive/Quiver/node_modules/blpapi/node_modules/custom-error-generator
196 verbose about to build /Users/kengz/Google Drive/Quiver/node_modules/blpapi
197 info build /Users/kengz/Google Drive/Quiver/node_modules/blpapi
198 verbose linkStuff [ false,
198 verbose linkStuff   false,
198 verbose linkStuff   false,
198 verbose linkStuff   '/Users/kengz/Google Drive/Quiver/node_modules' ]
199 info linkStuff [email protected]
200 verbose linkBins [email protected]
201 verbose linkMans [email protected]
202 verbose rebuildBundles [email protected]
203 verbose rebuildBundles [ 'custom-error-generator' ]
204 info install [email protected]
205 verbose unsafe-perm in lifecycle true
206 info [email protected] Failed to exec install script
207 verbose unlock done using /Users/kengz/.npm/_locks/blpapi-87077b44487570ec.lock for /Users/kengz/Google Drive/Quiver/node_modules/blpapi
208 verbose stack Error: [email protected] install: `node-gyp configure build`
208 verbose stack Exit status 1
208 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
208 verbose stack     at EventEmitter.emit (events.js:110:17)
208 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:14:12)
208 verbose stack     at ChildProcess.emit (events.js:110:17)
208 verbose stack     at maybeClose (child_process.js:1008:16)
208 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
209 verbose pkgid [email protected]
210 verbose cwd /Users/kengz/Google Drive/Quiver
211 error Darwin 14.3.0
212 error argv "node" "/usr/local/bin/npm" "install" "blpapi"
213 error node v0.12.0
214 error npm  v2.5.1
215 error code ELIFECYCLE
216 error [email protected] install: `node-gyp configure build`
216 error Exit status 1
217 error Failed at the [email protected] install script 'node-gyp configure build'.
217 error This is most likely a problem with the blpapi package,
217 error not with npm itself.
217 error Tell the author that this fails on your system:
217 error     node-gyp configure build
217 error You can get their info via:
217 error     npm owner ls blpapi
217 error There is likely additional logging output above.
218 verbose exit [ 1, true ]
219 verbose unbuild node_modules/blpapi
220 info preuninstall [email protected]
221 info uninstall [email protected]
222 verbose unbuild rmStuff [email protected] from /Users/kengz/Google Drive/Quiver/node_modules
223 info postuninstall [email protected]
224 verbose gentlyRm vacuuming /Users/kengz/Google Drive/Quiver/node_modules/blpapi
225 silly gentlyRm purging /Users/kengz/Google Drive/Quiver/node_modules/blpapi
226 silly gentlyRm quitting because other entries in /Users/kengz/Google Drive/Quiver/node_modules

Valgrind warnings (libblpapi3_64.so)

When running valgrind --leak-check=full node service-using-blpapi.js some warnings appear, like

==1462== Warning: set address range perms: large range [0x2621a6b2f000, 0x2621c6b2f000) (noaccess)
==1462== Conditional jump or move depends on uninitialised value(s)
==1462==    at 0x7A7DAC3: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A7DB47: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A7DD36: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A7DE7D: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A7D90E: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A7D3EA: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x783E5DE: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x78232DD: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7854376: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7856441: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7840FF7: blpapi_Session_create (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7435B72: BloombergLP::blpapijs::Session::Session(std::string const&, int, std::string const&) (in /var/service-using-blpapi/node_modules/blpapi/build/Release/blpapijs.node)

or

==1462== Thread 4:
==1462== Syscall param writev(vector[...]) points to uninitialised byte(s)
==1462==    at 0x5D5E990: writev (writev.c:54)
==1462==    by 0x7A7C6A7: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A64FA3: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A5696A: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79D14AF: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79D17AF: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79D1D95: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79D3FBA: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A676AB: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A6E352: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A4D61B: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A63EEC: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==  Address 0x73dbac4 is 84 bytes inside a block of size 304 alloc'd
==1462==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)
==1462==    by 0x7B68D6C: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7B02E32: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7AC0C98: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7AC0D16: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7AC17A6: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7AC2B3E: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A86129: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x7A8626B: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79848A7: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79D1490: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)
==1462==    by 0x79D17AF: ??? (in /var/service-using-blpapi/node_modules/blpapi/deps/blpapi/linux/libblpapi3_64.so)

Worth checking and correcting, IMO.

Environment:
Debian 8.0 "Jessie" (64-bit, fully updated), node.js v0.10.33 (from https://github.com/nodesource/distributions), blpapi v0.1.13.

JS: Expose idiomatic JavaScript API

Currently the JS layer of the blpapi-node project is a thin wrapper to protect end-users relying directly on the the exposed binding layer API. Now that native ES6 features are available, a more elegant, idiomatic JS API may be provided. Note that this will result in a major version bump from 1.x => 2.x.

Error: A dynamic link library (DLL) initialization routine failed.

Works beautifully for days, then suddenly crashes under the below error. I can't get rid of it without a system (W2003 server) restart.

module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: A dynamic link library (DLL) initialization routine failed.

D:\BLB\node_modules\blpapi\build\Release\blpapijs.node
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (D:\BLB\node_modules\blpapi\blpapi.js:4:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

blpapo_root

Hi, im traying to install the blpapi, but i need set blpapi_root like a enviromental variable, i have a mac, any help please?

BEmu

How can I use your module with BEmu??

Issue when "node-gyp configure build"

Hi,

after successfully installing the windows build tools and trying to install blpapi, I got the following error:

npm install --save blpapi
npm WARN package.json [email protected] No repository field.
/
> [email protected] install c:\Users\London\Apps\financejs\node_modules\blpapi
> node-gyp configure build


c:\Users\London\Apps\financejs\node_modules\blpapi>if not defined npm_config_node_gyp (node "c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build )  else (node  configure build )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  blpapijs.cpp
..\blpapijs.cpp(176): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [c:\Users\London\Apps\financejs\ node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(621): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_module s\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(719): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_module s\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(785): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_module s\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(828): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_module s\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(940): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_module s\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(961): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [c:\Users\London\Apps\financejs\ node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(989): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [c:\Users\London\Apps\financejs\ node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1002): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [c:\Users\London\Apps\financejs \node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1057): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [c:\Users\London\Apps\financejs \node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1136): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_modul es\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1249): warning C4003: not enough actual parameters for macro 'BLPAPI_EXCEPTION_IMPL' [c:\Users\London\Apps\financejs\node_modul es\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1263): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [c:\Users\London\Apps\financejs\ node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1281): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [c:\Users\London\Apps\financejs\node _modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1290): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [c:\Users\London\Apps\financejs\ node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1402): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [c:\Users\London\Apps\financejs\node _modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1616): warning C4244: 'argument': conversion from '__int64' to 'const int', possible loss of data [c:\Users\London\Apps\finance js\node_modules\blpapi\build\blpapijs.vcxproj]
..\blpapijs.cpp(1630): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [c:\Users\London\Apps\financejs\node _modules\blpapi\build\blpapijs.vcxproj]
  win_delay_load_hook.c
c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(31): error C2373: '__pfnDliNotifyHook2': redefinition;  different type modifiers [c:\Users\London\Apps\financejs\node_modules\blpapi\build\blpapijs.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\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:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "build"
gyp ERR! cwd c:\Users\London\Apps\financejs\node_modules\blpapi
gyp ERR! node -v v4.2.3
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "blpapi" npm ERR! node v4.2.3
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! This is most likely a problem with the blpapi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls blpapi
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     c:\Users\London\Apps\financejs\npm-debug.log

It seems this:

c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(31): error C2373: '__pfnDliNotifyHook2': redefinition;  different type modifiers [c:\Users\London\Apps\financejs\node_modules\blpapi\build\blpapijs.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'

seems to cause the problem, any advice?

I saw that error referenced here that asks to install npm@next, which I did, but still got the same error at the end of the day.

Would appreciate feedback, thx

Compatibility wiht node v0.11.x

Hi, this is truly a great module and thank you very much for sharing. I am just want to ask the plan on upgrading to be node.js v0.11.x version.

Windows 8 x64 module errors

Compiling with VS Pro 2013. NodeJS x64 v 0.12.4
x64 version:

f:\NodeJS\BLPAPI>node app.js
module.js:355
  Module._extensions[extension](this, filename);
                               ^
Error: The specified module could not be found.
f:\NodeJS\BLPAPI\node_modules\blpapi\build\Release\blpapijs.node
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (f:\NodeJS\BLPAPI\node_modules\blpapi\blpapi.js:4:14)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

x32 version (set npm_config_arch="ia32"):

f:\NodeJS\BLPAPI>node app.js
module.js:355
  Module._extensions[extension](this, filename);
                               ^
Error: %1 is not a valid Win32 application.
f:\NodeJS\BLPAPI\node_modules\blpapi\build\Release\blpapijs.node
    at Error (native)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (f:\NodeJS\BLPAPI\node_modules\blpapi\blpapi.js:4:14)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)

Specified module could not be found, when running examples

when trying both node FieldSearchRequest.js or node HistoricalDataRequest.js I get the following error:

$ node FieldSearchRequest.js
module.js:597
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: The specified module could not be found.
\\?\c:\Users\London\Apps\financejs\node_modules\blpapi\build\Release\blpapijs.node
    at Error (native)
    at Object.Module._extensions..node (module.js:597:18)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (c:\Users\London\Apps\financejs\node_modules\blpapi\blpapi.js:4:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)

Any advice?
I have node v6.9.2 and npm v4.0.5 on a Windows 8.1 PC with BBG terminal logged in on the same machine.

Error: The specified module could not be found.

I have installed blpapi (the build was successful and the all the required code under build/release/... were generated),while adding the require('blpapi') in the node application I am always ending up with Module not found error.

Error: The specified module could not be found.
C:\NODE development\myjs\node_modules\blpapi\build\Release\blpapijs.node
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (C:\NODE development\myjs\node_modules\blpapi\blpapi.j
s:6:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

I am using the v0.10.20 version of the node on a windows 7 machine with Express studio 2012 installed. The problem as shown in the log refers to the blpapi.js line 6 character 14.

var blpapi = require(path.join(__dirname, '/build/Release/blpapijs'));

when I do the console over path.join it actually shows the right place of the generated code.

Please help me in resolving this issue,

authentication

I have the basic code running fine under node, but I am alas completely lost trying to work out how to add authentication. I am running under B-Pipe and want to do an application auth. The docs say I need to pass the auth options to the session on creation (in the same string format as the other calls?) then generate a token but the node session object does not seem to have a .generateToken method... some pointers would be much appreciated, hoping I just need to get used to the API doc conversion mentality...

node-gyp configure build failing on Visual Studio 2013 Express

As in summary. Log from npm:

npm http GET https://registry.npmjs.org/blpapi
npm http 304 https://registry.npmjs.org/blpapi

[email protected] install P:\shared\blpapi-test\node_modules\blpapi
node-gyp configure build

P:\shared\blpapi-test\node_modules\blpapi>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" configure build
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
P:\shared\blpapi-test\node_modules\blpapi\build\blpapijs.vcxproj(18,3): error MSB4019: The imported project "P:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
gyp ERR! build error
gyp ERR! stack Error: msbuild 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:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "build"
gyp ERR! cwd P:\shared\blpapi-test\node_modules\blpapi
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the blpapi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls blpapi
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "i" "--python=C:\Python27\python.exe" "--msvs_version=2013"
npm ERR! cwd P:\shared\blpapi-test
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! P:\shared\blpapi-test\npm-debug.log
npm ERR! not ok code 0

npm install failure

Unable to install blpapi node version on my pc.

Find below the debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'blpapi' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of C:\Users\jayaseej\AppData\Roaming\npm\package.json
5 verbose readDependencies loading dependencies from C:\Users\jayaseej\AppData\Roaming\npm\package.json
6 silly cache add args [ 'blpapi', null ]
7 verbose cache add spec blpapi
8 silly cache add parsed spec Result {
8 silly cache add raw: 'blpapi',
8 silly cache add scope: null,
8 silly cache add name: 'blpapi',
8 silly cache add rawSpec: '',
8 silly cache add spec: 'latest',
8 silly cache add type: 'tag' }
9 silly addNamed blpapi@latest
10 verbose addNamed "latest" is being treated as a dist-tag for blpapi
11 info addNameTag [ 'blpapi', 'latest' ]
12 silly mapToRegistry name blpapi
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry data Result {
15 silly mapToRegistry raw: 'blpapi',
15 silly mapToRegistry scope: null,
15 silly mapToRegistry name: 'blpapi',
15 silly mapToRegistry rawSpec: '',
15 silly mapToRegistry spec: 'latest',
15 silly mapToRegistry type: 'tag' }
16 silly mapToRegistry uri https://registry.npmjs.org/blpapi
17 verbose addNameTag registry:https://registry.npmjs.org/blpapi not in flight; fetching
18 verbose request uri https://registry.npmjs.org/blpapi
19 verbose request no auth needed
20 info attempt registry request try #1 at 6:13:45 AM
21 verbose request id 29786ec98cb67a63
22 verbose etag "5EKQ8US0IVJ0KRMZ2CQC43CV2"
23 http request GET https://registry.npmjs.org/blpapi
24 http 304 https://registry.npmjs.org/blpapi
25 verbose headers { date: 'Wed, 17 Aug 2016 10:13:45 GMT',
25 verbose headers via: '1.1 varnish',
25 verbose headers 'cache-control': 'max-age=300',
25 verbose headers etag: '"5EKQ8US0IVJ0KRMZ2CQC43CV2"',
25 verbose headers age: '0',
25 verbose headers connection: 'keep-alive',
25 verbose headers 'x-served-by': 'cache-jfk8141-JFK',
25 verbose headers 'x-cache': 'MISS',
25 verbose headers 'x-cache-hits': '0',
25 verbose headers 'x-timer': 'S1471428825.998627,VS0,VE37',
25 verbose headers vary: 'Accept-Encoding' }
26 silly get cb [ 304,
26 silly get { date: 'Wed, 17 Aug 2016 10:13:45 GMT',
26 silly get via: '1.1 varnish',
26 silly get 'cache-control': 'max-age=300',
26 silly get etag: '"5EKQ8US0IVJ0KRMZ2CQC43CV2"',
26 silly get age: '0',
26 silly get connection: 'keep-alive',
26 silly get 'x-served-by': 'cache-jfk8141-JFK',
26 silly get 'x-cache': 'MISS',
26 silly get 'x-cache-hits': '0',
26 silly get 'x-timer': 'S1471428825.998627,VS0,VE37',
26 silly get vary: 'Accept-Encoding' } ]
27 verbose etag https://registry.npmjs.org/blpapi from cache
28 verbose get saving blpapi to C:\Users\jayaseej\AppData\Roaming\npm-cache\registry.npmjs.org\blpapi.cache.json
29 verbose correctMkdir C:\Users\jayaseej\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
30 silly addNameTag next cb for blpapi with tag latest
31 silly addNamed [email protected]
32 verbose addNamed "1.2.0" is a plain semver version for blpapi
33 silly cache afterAdd [email protected]
34 verbose afterAdd C:\Users\jayaseej\AppData\Roaming\npm-cache\blpapi\1.2.0\package\package.json not in flight; writing
35 verbose correctMkdir C:\Users\jayaseej\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
36 verbose afterAdd C:\Users\jayaseej\AppData\Roaming\npm-cache\blpapi\1.2.0\package\package.json written
37 silly install resolved [ { name: 'blpapi',
37 silly install resolved version: '1.2.0',
37 silly install resolved main: './blpapi.js',
37 silly install resolved description: 'Bloomberg Open API (BLPAPI) binding for node.js',
37 silly install resolved os: [ 'linux', 'win32', 'darwin' ],
37 silly install resolved cpu: [ 'x64', 'ia32' ],
37 silly install resolved scripts: { install: 'node-gyp configure build' },
37 silly install resolved dependencies: { 'custom-error-generator': '7.0.0' },
37 silly install resolved repository:
37 silly install resolved { type: 'git',
37 silly install resolved url: 'git+https://github.com/bloomberg/blpapi-node.git' },
37 silly install resolved bugs:
37 silly install resolved { url: 'https://github.com/bloomberg/blpapi-node/issues',
37 silly install resolved email: '[email protected]' },
37 silly install resolved maintainers: [ [Object], [Object] ],
37 silly install resolved keywords:
37 silly install resolved [ 'finance',
37 silly install resolved 'stocks',
37 silly install resolved 'stock',
37 silly install resolved 'quotes',
37 silly install resolved 'tick',
37 silly install resolved 'realtime',
37 silly install resolved 'market' ],
37 silly install resolved license: 'MIT',
37 silly install resolved engines: { node: '>=0.6' },
37 silly install resolved gitHead: '334a2b13dbb3a82a33ff4544a6b81f01defbc535',
37 silly install resolved homepage: 'https://github.com/bloomberg/blpapi-node',
37 silly install resolved _id: '[email protected]',
37 silly install resolved _shasum: '28bb7d2a191ec9eac3092c28e20d81f26c6efd79',
37 silly install resolved _from: 'blpapi@latest',
37 silly install resolved _npmVersion: '2.7.1',
37 silly install resolved _nodeVersion: '0.12.0',
37 silly install resolved _npmUser: { name: 'ericvw', email: '[email protected]' },
37 silly install resolved dist:
37 silly install resolved { shasum: '28bb7d2a191ec9eac3092c28e20d81f26c6efd79',
37 silly install resolved tarball: 'https://registry.npmjs.org/blpapi/-/blpapi-1.2.0.tgz' },
37 silly install resolved directories: {},
37 silly install resolved _resolved: 'https://registry.npmjs.org/blpapi/-/blpapi-1.2.0.tgz',
37 silly install resolved readme: 'ERROR: No README data found!' } ]
38 info install [email protected] into C:\Users\jayaseej\AppData\Roaming\npm
39 info installOne [email protected]
40 verbose installOne of blpapi to C:\Users\jayaseej\AppData\Roaming\npm not in flight; installing
41 verbose correctMkdir C:\Users\jayaseej\AppData\Roaming\npm-cache_locks correctMkdir not in flight; initializing
42 verbose lock using C:\Users\jayaseej\AppData\Roaming\npm-cache_locks\blpapi-df4b506869472cc6.lock for C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
43 silly install write writing blpapi 1.2.0 to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
44 verbose unbuild node_modules\blpapi
45 silly gentlyRm C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi is being purged from base C:\Users\jayaseej\AppData\Roaming\npm
46 verbose gentlyRm don't care about contents; nuking C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
47 verbose tar unpack C:\Users\jayaseej\AppData\Roaming\npm-cache\blpapi\1.2.0\package.tgz
48 verbose tar unpacking to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
49 silly gentlyRm C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi is being purged
50 verbose gentlyRm don't care about contents; nuking C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
51 silly gunzTarPerm modes [ '777', '666' ]
52 silly gunzTarPerm extractEntry package.json
53 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
54 silly gunzTarPerm extractEntry README.md
55 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
56 silly gunzTarPerm extractEntry LICENSE
57 silly gunzTarPerm modified mode [ 'LICENSE', 420, 438 ]
58 silly gunzTarPerm extractEntry blpapi.js
59 silly gunzTarPerm modified mode [ 'blpapi.js', 420, 438 ]
60 silly gunzTarPerm extractEntry .travis.yml
61 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ]
62 silly gunzTarPerm extractEntry binding.gyp
63 silly gunzTarPerm modified mode [ 'binding.gyp', 420, 438 ]
64 silly gunzTarPerm extractEntry deps/blpapi/LICENSE
65 silly gunzTarPerm modified mode [ 'deps/blpapi/LICENSE', 420, 438 ]
66 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_logging.h
67 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_logging.h', 420, 438 ]
68 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_abstractsession.h
69 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_abstractsession.h',
69 silly gunzTarPerm 420,
69 silly gunzTarPerm 438 ]
70 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_constant.h
71 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_constant.h', 420, 438 ]
72 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_correlationid.h
73 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_correlationid.h',
73 silly gunzTarPerm 420,
73 silly gunzTarPerm 438 ]
74 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_datetime.h
75 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_datetime.h', 420, 438 ]
76 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_defs.h
77 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_defs.h', 420, 438 ]
78 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_diagnosticsutil.h
79 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_diagnosticsutil.h',
79 silly gunzTarPerm 420,
79 silly gunzTarPerm 438 ]
80 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_dispatchtbl.h
81 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_dispatchtbl.h', 420, 438 ]
82 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_element.h
83 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_element.h', 420, 438 ]
84 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_error.h
85 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_error.h', 420, 438 ]
86 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_event.h
87 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_event.h', 420, 438 ]
88 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_eventdispatcher.h
89 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_eventdispatcher.h',
89 silly gunzTarPerm 420,
89 silly gunzTarPerm 438 ]
90 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_eventformatter.h
91 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_eventformatter.h',
91 silly gunzTarPerm 420,
91 silly gunzTarPerm 438 ]
92 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_exception.h
93 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_exception.h', 420, 438 ]
94 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_identity.h
95 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_identity.h', 420, 438 ]
96 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_call.h
97 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_call.h', 420, 438 ]
98 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_message.h
99 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_message.h', 420, 438 ]
100 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_name.h
101 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_name.h', 420, 438 ]
102 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_providersession.h
103 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_providersession.h',
103 silly gunzTarPerm 420,
103 silly gunzTarPerm 438 ]
104 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_request.h
105 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_request.h', 420, 438 ]
106 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_resolutionlist.h
107 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_resolutionlist.h',
107 silly gunzTarPerm 420,
107 silly gunzTarPerm 438 ]
108 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_schema.h
109 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_schema.h', 420, 438 ]
110 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_service.h
111 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_service.h', 420, 438 ]
112 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_session.h
113 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_session.h', 420, 438 ]
114 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_sessionoptions.h
115 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_sessionoptions.h',
115 silly gunzTarPerm 420,
115 silly gunzTarPerm 438 ]
116 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_streamproxy.h
117 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_streamproxy.h', 420, 438 ]
118 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_subscriptionlist.h
119 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_subscriptionlist.h',
119 silly gunzTarPerm 420,
119 silly gunzTarPerm 438 ]
120 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_topic.h
121 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_topic.h', 420, 438 ]
122 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_topiclist.h
123 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_topiclist.h', 420, 438 ]
124 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_types.h
125 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_types.h', 420, 438 ]
126 silly gunzTarPerm extractEntry deps/blpapi/include-3.7.9.1/blpapi_versioninfo.h
127 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.7.9.1/blpapi_versioninfo.h', 420, 438 ]
128 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_message.h
129 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_message.h', 420, 438 ]
130 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_abstractsession.h
131 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_abstractsession.h',
131 silly gunzTarPerm 420,
131 silly gunzTarPerm 438 ]
132 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_constant.h
133 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_constant.h', 420, 438 ]
134 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_correlationid.h
135 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_correlationid.h',
135 silly gunzTarPerm 420,
135 silly gunzTarPerm 438 ]
136 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_datetime.h
137 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_datetime.h', 420, 438 ]
138 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_defs.h
139 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_defs.h', 420, 438 ]
140 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_diagnosticsutil.h
141 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_diagnosticsutil.h',
141 silly gunzTarPerm 420,
141 silly gunzTarPerm 438 ]
142 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_dispatchtbl.h
143 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_dispatchtbl.h', 420, 438 ]
144 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_element.h
145 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_element.h', 420, 438 ]
146 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_error.h
147 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_error.h', 420, 438 ]
148 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_event.h
149 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_event.h', 420, 438 ]
150 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_eventdispatcher.h
151 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_eventdispatcher.h',
151 silly gunzTarPerm 420,
151 silly gunzTarPerm 438 ]
152 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_eventformatter.h
153 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_eventformatter.h',
153 silly gunzTarPerm 420,
153 silly gunzTarPerm 438 ]
154 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_exception.h
155 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_exception.h', 420, 438 ]
156 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_highresolutionclock.h
157 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_highresolutionclock.h',
157 silly gunzTarPerm 420,
157 silly gunzTarPerm 438 ]
158 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_identity.h
159 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_identity.h', 420, 438 ]
160 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_logging.h
161 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_logging.h', 420, 438 ]
162 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_call.h
163 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_call.h', 420, 438 ]
164 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_name.h
165 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_name.h', 420, 438 ]
166 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_providersession.h
167 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_providersession.h',
167 silly gunzTarPerm 420,
167 silly gunzTarPerm 438 ]
168 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_request.h
169 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_request.h', 420, 438 ]
170 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_resolutionlist.h
171 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_resolutionlist.h',
171 silly gunzTarPerm 420,
171 silly gunzTarPerm 438 ]
172 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_schema.h
173 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_schema.h', 420, 438 ]
174 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_service.h
175 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_service.h', 420, 438 ]
176 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_session.h
177 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_session.h', 420, 438 ]
178 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_sessionoptions.h
179 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_sessionoptions.h',
179 silly gunzTarPerm 420,
179 silly gunzTarPerm 438 ]
180 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_streamproxy.h
181 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_streamproxy.h', 420, 438 ]
182 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_subscriptionlist.h
183 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_subscriptionlist.h',
183 silly gunzTarPerm 420,
183 silly gunzTarPerm 438 ]
184 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_timepoint.h
185 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_timepoint.h', 420, 438 ]
186 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_topic.h
187 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_topic.h', 420, 438 ]
188 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_topiclist.h
189 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_topiclist.h', 420, 438 ]
190 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_types.h
191 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_types.h', 420, 438 ]
192 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_versioninfo.h
193 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_versioninfo.h', 420, 438 ]
194 silly gunzTarPerm extractEntry deps/blpapi/include-3.8.1.1/blpapi_versionmacros.h
195 silly gunzTarPerm modified mode [ 'deps/blpapi/include-3.8.1.1/blpapi_versionmacros.h',
195 silly gunzTarPerm 420,
195 silly gunzTarPerm 438 ]
196 silly gunzTarPerm extractEntry deps/blpapi/linux/libblpapi3_32.so
197 silly gunzTarPerm modified mode [ 'deps/blpapi/linux/libblpapi3_32.so', 493, 511 ]
198 silly gunzTarPerm extractEntry deps/blpapi/linux/libblpapi3_64.so
199 silly gunzTarPerm modified mode [ 'deps/blpapi/linux/libblpapi3_64.so', 493, 511 ]
200 silly gunzTarPerm extractEntry deps/blpapi/osx/libblpapi3_32.so
201 silly gunzTarPerm modified mode [ 'deps/blpapi/osx/libblpapi3_32.so', 493, 511 ]
202 silly gunzTarPerm extractEntry deps/blpapi/osx/libblpapi3_64.so
203 silly gunzTarPerm modified mode [ 'deps/blpapi/osx/libblpapi3_64.so', 493, 511 ]
204 silly gunzTarPerm extractEntry deps/blpapi/win/blpapi3_32.lib
205 silly gunzTarPerm modified mode [ 'deps/blpapi/win/blpapi3_32.lib', 493, 511 ]
206 silly gunzTarPerm extractEntry deps/blpapi/win/blpapi3_64.lib
207 silly gunzTarPerm modified mode [ 'deps/blpapi/win/blpapi3_64.lib', 493, 511 ]
208 silly gunzTarPerm extractEntry examples/AuthorizationApplication.js
209 silly gunzTarPerm modified mode [ 'examples/AuthorizationApplication.js', 420, 438 ]
210 silly gunzTarPerm extractEntry examples/FieldSearchRequest.js
211 silly gunzTarPerm modified mode [ 'examples/FieldSearchRequest.js', 420, 438 ]
212 silly gunzTarPerm extractEntry examples/HistoricalDataRequest.js
213 silly gunzTarPerm modified mode [ 'examples/HistoricalDataRequest.js', 420, 438 ]
214 silly gunzTarPerm extractEntry examples/IntradayBarRequest.js
215 silly gunzTarPerm modified mode [ 'examples/IntradayBarRequest.js', 420, 438 ]
216 silly gunzTarPerm extractEntry examples/IntradayTickRequest.js
217 silly gunzTarPerm modified mode [ 'examples/IntradayTickRequest.js', 420, 438 ]
218 silly gunzTarPerm extractEntry examples/Console.js
219 silly gunzTarPerm modified mode [ 'examples/Console.js', 420, 438 ]
220 silly gunzTarPerm extractEntry examples/MarketSubUnsubscription.js
221 silly gunzTarPerm modified mode [ 'examples/MarketSubUnsubscription.js', 420, 438 ]
222 silly gunzTarPerm extractEntry examples/MarketSubscription.js
223 silly gunzTarPerm modified mode [ 'examples/MarketSubscription.js', 420, 438 ]
224 silly gunzTarPerm extractEntry examples/MarketVwapSubscription.js
225 silly gunzTarPerm modified mode [ 'examples/MarketVwapSubscription.js', 420, 438 ]
226 silly gunzTarPerm extractEntry examples/OptionChain.js
227 silly gunzTarPerm modified mode [ 'examples/OptionChain.js', 420, 438 ]
228 silly gunzTarPerm extractEntry examples/MarketBarSubscription.js
229 silly gunzTarPerm modified mode [ 'examples/MarketBarSubscription.js', 420, 438 ]
230 silly gunzTarPerm extractEntry output.i
231 silly gunzTarPerm modified mode [ 'output.i', 420, 438 ]
232 silly gunzTarPerm extractEntry blpapijs.cpp
233 silly gunzTarPerm modified mode [ 'blpapijs.cpp', 420, 438 ]
234 verbose write writing to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\package.json
235 info preinstall [email protected]
236 verbose readDependencies loading dependencies from C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\package.json
237 silly prepareForInstallMany adding [email protected] from blpapi dependencies
238 verbose readDependencies loading dependencies from C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\package.json
239 silly cache add args [ '[email protected]', null ]
240 verbose cache add spec [email protected]
241 silly cache add parsed spec Result {
241 silly cache add raw: '[email protected]',
241 silly cache add scope: null,
241 silly cache add name: 'custom-error-generator',
241 silly cache add rawSpec: '7.0.0',
241 silly cache add spec: '7.0.0',
241 silly cache add type: 'version' }
242 silly addNamed [email protected]
243 verbose addNamed "7.0.0" is a plain semver version for custom-error-generator
244 silly mapToRegistry name custom-error-generator
245 silly mapToRegistry using default registry
246 silly mapToRegistry registry https://registry.npmjs.org/
247 silly mapToRegistry data Result {
247 silly mapToRegistry raw: 'custom-error-generator',
247 silly mapToRegistry scope: null,
247 silly mapToRegistry name: 'custom-error-generator',
247 silly mapToRegistry rawSpec: '',
247 silly mapToRegistry spec: 'latest',
247 silly mapToRegistry type: 'tag' }
248 silly mapToRegistry uri https://registry.npmjs.org/custom-error-generator
249 verbose addNameVersion registry:https://registry.npmjs.org/custom-error-generator not in flight; fetching
250 verbose request uri https://registry.npmjs.org/custom-error-generator
251 verbose request no auth needed
252 info attempt registry request try #1 at 6:13:48 AM
253 verbose etag "CMTFD8YVN0XN3UJKMCTHIN486"
254 http request GET https://registry.npmjs.org/custom-error-generator
255 http 304 https://registry.npmjs.org/custom-error-generator
256 verbose headers { date: 'Wed, 17 Aug 2016 10:13:48 GMT',
256 verbose headers via: '1.1 varnish',
256 verbose headers 'cache-control': 'max-age=300',
256 verbose headers etag: '"CMTFD8YVN0XN3UJKMCTHIN486"',
256 verbose headers age: '224',
256 verbose headers connection: 'keep-alive',
256 verbose headers 'x-served-by': 'cache-jfk8141-JFK',
256 verbose headers 'x-cache': 'HIT',
256 verbose headers 'x-cache-hits': '1',
256 verbose headers 'x-timer': 'S1471428828.228080,VS0,VE0',
256 verbose headers vary: 'Accept-Encoding' }
257 silly get cb [ 304,
257 silly get { date: 'Wed, 17 Aug 2016 10:13:48 GMT',
257 silly get via: '1.1 varnish',
257 silly get 'cache-control': 'max-age=300',
257 silly get etag: '"CMTFD8YVN0XN3UJKMCTHIN486"',
257 silly get age: '224',
257 silly get connection: 'keep-alive',
257 silly get 'x-served-by': 'cache-jfk8141-JFK',
257 silly get 'x-cache': 'HIT',
257 silly get 'x-cache-hits': '1',
257 silly get 'x-timer': 'S1471428828.228080,VS0,VE0',
257 silly get vary: 'Accept-Encoding' } ]
258 verbose etag https://registry.npmjs.org/custom-error-generator from cache
259 verbose get saving custom-error-generator to C:\Users\jayaseej\AppData\Roaming\npm-cache\registry.npmjs.org\custom-error-generator.cache.json
260 verbose correctMkdir C:\Users\jayaseej\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
261 silly cache afterAdd [email protected]
262 verbose afterAdd C:\Users\jayaseej\AppData\Roaming\npm-cache\custom-error-generator\7.0.0\package\package.json not in flight; writing
263 verbose correctMkdir C:\Users\jayaseej\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
264 verbose afterAdd C:\Users\jayaseej\AppData\Roaming\npm-cache\custom-error-generator\7.0.0\package\package.json written
265 silly install resolved [ { name: 'custom-error-generator',
265 silly install resolved version: '7.0.0',
265 silly install resolved description: 'Custom errors and exceptions in Node.js',
265 silly install resolved main: 'error.js',
265 silly install resolved scripts: { test: 'make test' },
265 silly install resolved engines: [ 'node >=0.6.0' ],
265 silly install resolved config: { blanket: [Object], 'travis-cov': [Object] },
265 silly install resolved author: { name: 'Jesse Proulx', email: '[email protected]' },
265 silly install resolved license: 'ISC',
265 silly install resolved devDependencies:
265 silly install resolved { mocha: '',
265 silly install resolved should: '',
265 silly install resolved blanket: '',
265 silly install resolved 'mocha-lcov-reporter': '',
265 silly install resolved jshint: '',
265 silly install resolved 'travis-cov': '',
265 silly install resolved 'codeclimate-test-reporter': '',
265 silly install resolved coveralls: '' },
265 silly install resolved repository:
265 silly install resolved { type: 'git',
265 silly install resolved url: 'git+https://github.com/jproulx/node-custom-error.git' },
265 silly install resolved keywords: [ 'error', 'errors', 'error factory', 'custom error' ],
265 silly install resolved bugs: { url: 'https://github.com/jproulx/node-custom-error/issues' },
265 silly install resolved homepage: 'https://github.com/jproulx/node-custom-error',
265 silly install resolved _id: '[email protected]',
265 silly install resolved dist:
265 silly install resolved { shasum: 'b16f8d09636327f69ae80a1043766f30f4506408',
265 silly install resolved tarball: 'https://registry.npmjs.org/custom-error-generator/-/custom-error-generator-7.0.0.tgz' },
265 silly install resolved _from: '[email protected]',
265 silly install resolved _npmVersion: '1.4.3',
265 silly install resolved _npmUser: { name: 'jproulx', email: '[email protected]' },
265 silly install resolved maintainers: [ [Object] ],
265 silly install resolved directories: {},
265 silly install resolved _shasum: 'b16f8d09636327f69ae80a1043766f30f4506408',
265 silly install resolved _resolved: 'https://registry.npmjs.org/custom-error-generator/-/custom-error-generator-7.0.0.tgz',
265 silly install resolved readme: 'ERROR: No README data found!' } ]
266 info install [email protected] into C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
267 info installOne [email protected]
268 verbose installOne of custom-error-generator to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi not in flight; installing
269 verbose correctMkdir C:\Users\jayaseej\AppData\Roaming\npm-cache_locks correctMkdir not in flight; initializing
270 verbose lock using C:\Users\jayaseej\AppData\Roaming\npm-cache_locks\custom-error-generator-ea74f32ba305d76c.lock for C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
271 silly install write writing custom-error-generator 7.0.0 to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
272 verbose unbuild node_modules\blpapi\node_modules\custom-error-generator
273 silly gentlyRm C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator is being purged from base C:\Users\jayaseej\AppData\Roaming\npm
274 verbose gentlyRm don't care about contents; nuking C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
275 verbose tar unpack C:\Users\jayaseej\AppData\Roaming\npm-cache\custom-error-generator\7.0.0\package.tgz
276 verbose tar unpacking to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
277 silly gentlyRm C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator is being purged
278 verbose gentlyRm don't care about contents; nuking C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
279 silly gunzTarPerm modes [ '777', '666' ]
280 silly gunzTarPerm extractEntry package.json
281 silly gunzTarPerm modified mode [ 'package.json', 420, 438 ]
282 silly gunzTarPerm extractEntry .npmignore
283 silly gunzTarPerm modified mode [ '.npmignore', 420, 438 ]
284 silly gunzTarPerm extractEntry README.md
285 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
286 silly gunzTarPerm extractEntry error.js
287 silly gunzTarPerm modified mode [ 'error.js', 420, 438 ]
288 silly gunzTarPerm extractEntry test.js
289 silly gunzTarPerm modified mode [ 'test.js', 420, 438 ]
290 silly gunzTarPerm extractEntry .jshintrc
291 silly gunzTarPerm modified mode [ '.jshintrc', 420, 438 ]
292 silly gunzTarPerm extractEntry .travis.yml
293 silly gunzTarPerm modified mode [ '.travis.yml', 420, 438 ]
294 silly gunzTarPerm extractEntry Makefile
295 silly gunzTarPerm modified mode [ 'Makefile', 420, 438 ]
296 verbose write writing to C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator\package.json
297 info preinstall [email protected]
298 verbose readDependencies loading dependencies from C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator\package.json
299 verbose readDependencies loading dependencies from C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator\package.json
300 silly install resolved []
301 verbose about to build C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
302 info build C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
303 info linkStuff [email protected]
304 silly linkStuff [email protected] has C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules as its parent node_modules
305 silly linkStuff [email protected] is part of a global install
306 silly linkStuff [email protected] is installed into a global node_modules
307 verbose linkBins [email protected]
308 verbose linkMans [email protected]
309 verbose rebuildBundles [email protected]
310 info install [email protected]
311 info postinstall [email protected]
312 verbose unlock done using C:\Users\jayaseej\AppData\Roaming\npm-cache_locks\custom-error-generator-ea74f32ba305d76c.lock for C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi\node_modules\custom-error-generator
313 verbose about to build C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
314 info build C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
315 info linkStuff [email protected]
316 silly linkStuff [email protected] has C:\Users\jayaseej\AppData\Roaming\npm\node_modules as its parent node_modules
317 silly linkStuff [email protected] is part of a global install
318 silly linkStuff [email protected] is installed into a global node_modules
319 silly linkStuff [email protected] is installed into the top-level global node_modules
320 verbose linkBins [email protected]
321 verbose linkMans [email protected]
322 verbose rebuildBundles [email protected]
323 verbose rebuildBundles [ 'custom-error-generator' ]
324 info install [email protected]
325 verbose unsafe-perm in lifecycle true
326 info [email protected] Failed to exec install script
327 verbose unlock done using C:\Users\jayaseej\AppData\Roaming\npm-cache_locks\blpapi-df4b506869472cc6.lock for C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
328 verbose stack Error: [email protected] install: node-gyp configure build
328 verbose stack Exit status 1
328 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
328 verbose stack at emitTwo (events.js:87:13)
328 verbose stack at EventEmitter.emit (events.js:172:7)
328 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
328 verbose stack at emitTwo (events.js:87:13)
328 verbose stack at ChildProcess.emit (events.js:172:7)
328 verbose stack at maybeClose (internal/child_process.js:827:16)
328 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
329 verbose pkgid [email protected]
330 verbose cwd D:\nwblpapi
331 error Windows_NT 6.3.9600
332 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "blpapi"
333 error node v4.4.7
334 error npm v2.15.8
335 error code ELIFECYCLE
336 error [email protected] install: node-gyp configure build
336 error Exit status 1
337 error Failed at the [email protected] install script 'node-gyp configure build'.
337 error This is most likely a problem with the blpapi package,
337 error not with npm itself.
337 error Tell the author that this fails on your system:
337 error node-gyp configure build
337 error You can get information on how to open an issue for this project with:
337 error npm bugs blpapi
337 error Or if that isn't available, you can get their info via:
337 error
337 error npm owner ls blpapi
337 error There is likely additional logging output above.
338 verbose exit [ 1, true ]
339 verbose unbuild node_modules\blpapi
340 info preuninstall [email protected]
341 info uninstall [email protected]
342 verbose unbuild rmStuff [email protected] from C:\Users\jayaseej\AppData\Roaming\npm\node_modules
343 info postuninstall [email protected]
344 silly gentlyRm C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi is being purged from base C:\Users\jayaseej\AppData\Roaming\npm
345 verbose gentlyRm don't care about contents; nuking C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
346 silly vacuum-fs purging C:\Users\jayaseej\AppData\Roaming\npm\node_modules\blpapi
347 silly vacuum-fs quitting because other entries in C:\Users\jayaseej\AppData\Roaming\npm\node_modules

access to BDH bloomberg historical data via blpapi-node?

Hi guys

Im trying to get the historical data of JIBRA 3M, now you can do this in excel but i require this as a service, any help appreciated?! see below

=BDH("JIBA3M Index","last price","20150127","20150127")
=bdh("ticker","field","start date","end date")

SAPI

How can I create and start SAPI on linux or mac?

Does this actually work?

I am unable to open a connection on a machine with a logged in bberg terminal... No Errors.. nothing happens when i listen to connection open event

Support only node >= 0.12.x and io.js

At some point in the (near?) future, I'd like to drop Node 0.6.x and 0.8.x support and focus on Node 0.10.x and 0.12.x (currently 0.11.x). If anyone has any objections or comments, this is the place to put them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.