Create "Access Grant" with "Storj API"

Just spent some time getting it setup and I can confirm the binding works on windows 11 enterprise (dev2204eval):

I did run into an error where some files were missing:

C:\Users\User\Downloads\test\uplink-nodejs\libUplink_win.cc(4,10): fatal error C1083: Cannot open include file: libUplink_win.h: No such file or directory [C:\Users\User\Downloads\test\uplink-nodejs\build\uplink.vcxproj]

for some reason the build process seems to be removing some headers, on windows 11 at-least.

What I did - Pre-reqs:

  • install go
  • install node
  • choco install make
  • choco install mingw

From instructions at GitHub - storj-thirdparty/uplink-nodejs: NodeJS / typescript bindings for libuplink

npm install -g node-gyp
git clone https://github.com/storj-thirdparty/uplink-nodejs.git
npm install
git reset --hard origin/master  (yea - I don't know why the build script is removing some headers)
npm install
npm test

It’s important to keep in mind these bindings were made a few years ago with only a few wonderful community contributions since then. I would like to give a great shout-out to all the repo contributors that volunteered, and continue to contribute, their efforts. If there is a desire to update the bindings I’m sure the community can rally to submit PRs as they have in the past.

*note: I don’t know why the git reset changed the behavior of the build as everything should be under version control, though something that was built likely is untracked. It shouldn’t take someone more than a few days to debug and document if anyone wants to pick it up.