I’ve installed uplink-nodejs package to use StorJ with Meteor/React project. When I import it I get the message in the object. Below I attach the full log.
Versions:
- nodejs: v16.9.0
- meteor: 2.2
- npm: 7.22.0
- go: 1.17
Os: MacOS
To replicate the issue:
- To install Meteor: "npm install -g meteor”
- To create a new demo project: "meteor create simple-todos”
- export PATH=$PATH:$GOPATH/bin
- npm install -g node-gyp
- npm install uplink-nodejs
Error logs:
yarn run v1.22.10
$ meteor run
=> Started proxy.
=> Started HMR server.
=> Meteor 2.3.6 is available. Update this project with 'meteor update'.
=> Started MongoDB.
W20210910-17:58:11.963(2)? (STDERR) /Users/user/.meteor/packages/meteor-tool/.2.2.0.rsbba2.4ka9r++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20210910-17:58:12.070(2)? (STDERR) throw(ex);
W20210910-17:58:12.070(2)? (STDERR) ^
W20210910-17:58:12.070(2)? (STDERR)
W20210910-17:58:12.070(2)? (STDERR) Error: dlopen(/Users/user/WebstormProjects/ProjectName/node_modules/uplink-nodejs/build/Release/uplink.node, 1): Library not loaded: libuplinkcv1.2.4.dylib
W20210910-17:58:12.071(2)? (STDERR) Referenced from: /Users/user/WebstormProjects/ProjectName/node_modules/uplink-nodejs/build/Release/uplink.node
W20210910-17:58:12.071(2)? (STDERR) Reason: image not found
W20210910-17:58:12.071(2)? (STDERR) at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
W20210910-17:58:12.071(2)? (STDERR) at Module.load (internal/modules/cjs/loader.js:863:32)
W20210910-17:58:12.071(2)? (STDERR) at Module.Mp.load (/Users/user/WebstormProjects/ProjectName/.meteor/local/build/programs/server/runtime.js:15:31)
W20210910-17:58:12.071(2)? (STDERR) at Function.Module._load (internal/modules/cjs/loader.js:708:14)
W20210910-17:58:12.071(2)? (STDERR) at Module.require (internal/modules/cjs/loader.js:887:19)
W20210910-17:58:12.071(2)? (STDERR) at require (internal/modules/cjs/helpers.js:74:18)
W20210910-17:58:12.072(2)? (STDERR) at bindings (/Users/user/WebstormProjects/ProjectName/node_modules/bindings/bindings.js:112:48)
W20210910-17:58:12.072(2)? (STDERR) at Object.<anonymous> (/Users/user/WebstormProjects/ProjectName/node_modules/uplink-nodejs/dist/access.js:6:16)
W20210910-17:58:12.072(2)? (STDERR) at Module._compile (internal/modules/cjs/loader.js:999:30)
W20210910-17:58:12.072(2)? (STDERR) at Module.Mp._compile (/Users/user/WebstormProjects/ProjectName/.meteor/local/build/programs/server/runtime.js:50:23)
W20210910-17:58:12.072(2)? (STDERR) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
W20210910-17:58:12.072(2)? (STDERR) at Module.load (internal/modules/cjs/loader.js:863:32)
W20210910-17:58:12.072(2)? (STDERR) at Module.Mp.load (/Users/user/WebstormProjects/ProjectName/.meteor/local/build/programs/server/runtime.js:15:31)
W20210910-17:58:12.072(2)? (STDERR) at Function.Module._load (internal/modules/cjs/loader.js:708:14)
W20210910-17:58:12.072(2)? (STDERR) at Module.require (internal/modules/cjs/loader.js:887:19)
W20210910-17:58:12.073(2)? (STDERR) at require (internal/modules/cjs/helpers.js:74:18)
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.