storacha/w3cli

Lack of `SpaceDID` is raising an error in the current distribution

Closed this issue · 2 comments

I ran npm install --global @web3-storage/w3cli then w3 and I get the error:

file://~/.nodenv/versions/20.5.0/lib/node_modules/@web3-storage/w3cli/node_modules/@web3-storage/upload-client/src/store.js:3
import { SpaceDID } from '@web3-storage/capabilities/utils'
         ^^^^^^^^
SyntaxError: The requested module '@web3-storage/capabilities/utils' does not provide an export named 'SpaceDID'

In looking into the @web3-storage/capabilities/utils downloaded by @web3-storage/w3cli it is indeed missing SpaceDID.

The blame says these changes were made three weeks ago & I think a new @web3-storage/capabilities needs to be published.

@dysbulic I believe this has been fixed, and I am able to run npm install --global @web3-storage/w3cli and then w3 without error. I expect you can no longer reproduce this. Is that right?

@dysbulic I'm hoping this is resolved. Feel free to reopen with more info if you are still facing the issue.