HyperClockUp opened a new issue, #222:
URL: https://github.com/apache/pulsar-client-node/issues/222

   1. install C++ version as 
[doc](https://pulsar.apache.org/docs/client-libraries-cpp#windows-64-bit)
   2. build Release and set system variable as 
[README](https://github.com/apache/pulsar-client-node#readme)
   3. install `pulsar-client` successfully
   4. `require("pulsar-client")`
   
   the minium error code is following:
   ```nodejs
   const Pulsar = require('pulsar-client');
   
   console.log(Pulsar );
   ```
   
   but the terminal throw an error like
   ```shell
   Error: The specified module could not be found.
   \\?\E:\latex-server\node_modules\pulsar-client\build\Release\Pulsar.node
       at Module._extensions..node (node:internal/modules/cjs/loader:1196:18)
       at Module.load (node:internal/modules/cjs/loader:988:32)
       at Module._load (node:internal/modules/cjs/loader:834:12)
       at Module.require (node:internal/modules/cjs/loader:1012:19)
       at require (node:internal/modules/cjs/helpers:102:18)
       at Object.<anonymous> 
(E:\latex-server\node_modules\pulsar-client\index.js:20:23)
       at Module._compile (node:internal/modules/cjs/loader:1112:14)
       at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
       at Module.load (node:internal/modules/cjs/loader:988:32)
       at Module._load (node:internal/modules/cjs/loader:834:12) {
     code: 'ERR_DLOPEN_FAILED'
   }
   ```
   
   I've searched for a while, and some answers say that maybe the `vcpkg` lead 
this error, but I don't know how to solve it. If someone can help me, i'll be 
reallllly grateful.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to