Skip to content

Conversation

@olizilla
Copy link
Member

@olizilla olizilla commented Aug 6, 2020

If i run master locally, then upgrade ipfs from 0.40 to 0.48 i hit a repo init error

Failed to initialise js-ipfs NotInitializedRepoError: Repo in path ipfs is not initialized!
    at _callee$ (http://localhost:3000/static/js/6.chunk.js:64421:19)
    at tryCatch (http://localhost:3000/static/js/8.chunk.js:5166:17)
    at Generator.invoke [as _invoke] (http://localhost:3000/static/js/8.chunk.js:5386:22)
    at Generator.prototype.<computed> [as next] (http://localhost:3000/static/js/8.chunk.js:5219:21)
    at asyncGeneratorStep (http://localhost:3000/static/js/0.chunk.js:678:24)
    at _next (http://localhost:3000/static/js/0.chunk.js:700:9)

License: MIT
Signed-off-by: Oli Evans [email protected]

If i run master locally, then upgrade ipfs from 0.40 to 0.48 i hit a repo init error

```
Failed to initialise js-ipfs NotInitializedRepoError: Repo in path ipfs is not initialized!
    at _callee$ (http://localhost:3000/static/js/6.chunk.js:64421:19)
    at tryCatch (http://localhost:3000/static/js/8.chunk.js:5166:17)
    at Generator.invoke [as _invoke] (http://localhost:3000/static/js/8.chunk.js:5386:22)
    at Generator.prototype.<computed> [as next] (http://localhost:3000/static/js/8.chunk.js:5219:21)
    at asyncGeneratorStep (http://localhost:3000/static/js/0.chunk.js:678:24)
    at _next (http://localhost:3000/static/js/0.chunk.js:700:9)
```

License: MIT
Signed-off-by: Oli Evans <[email protected]>
@olizilla
Copy link
Member Author

olizilla commented Aug 6, 2020

Of note, am posting this as an early WIP on upgrading IPFS and all the other deps, so Alex can take a look at the issue I hit.

achingbrain added a commit to ipfs/js-ipfs-repo-migrations that referenced this pull request Aug 6, 2020
In order to successfully open a datastore we should accept config
that tells us how to open the datastore.

Refs: ipld/explore.ipld.io#65
achingbrain added a commit to ipfs/js-ipfs-repo-migrations that referenced this pull request Aug 6, 2020
In order to successfully open a datastore we should accept config that tells us how to open the datastore.

Refs: ipld/explore.ipld.io#65
@achingbrain
Copy link
Member

Could you blow away your node_modules folder and package-lock.json and try again, first ensuring that you've ended up with [email protected] installed?

@achingbrain
Copy link
Member

..or use [email protected]

Co-authored-by: Alex Potsides <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants