-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Error: invalid block #1331
Comments
@dryajov mind checking what's up here? |
This looks to be the constructor check issue. Probably running v0.15.0 of https://github.com/ipfs/js-ipfs-block/blob/v0.6.1/src/index.js#L61,L63 Where as v0.19.0 I don't know exactly which dependency is locking things down, but v0.28.2 of find . -type d -name 'ipfs-block' | tee -a /dev/stderr | xargs -I "{}" cat "{}"/package.json | jq '.version'
./node_modules/ipfs-repo/node_modules/ipfs-block
./node_modules/ipfs-api/node_modules/ipfs-block
./node_modules/ipfs-block
"0.7.1"
"0.7.1"
"0.6.1" |
See ipfs/js-ipfsd-ctl#223 (comment)
|
@vasco-santos once you update deps on ipfsd-ctl and release a new version, can you update here so that @Jonybang can test it? Thanks! |
ok, i will test this today |
@diasdavid I can't test this issue because of ipfs installation via npm failed:
Output:
/Users/jonybang/.npm/_logs/2018-06-01T14_32_48_476Z-debug.log: Node version: v10.2.1 |
After reinit npm and installing ipfs first there was this problem: And then similar errors if I execute this command:
@vasco-santos By command above I'm trying to install new code by PR 262, which already merged in master |
@Jonybang can you confirm this is still a problem with the latest version of |
Now all working fine by this code:
if i'm trying to call |
This error seems to have returned on
|
This is actually pretty interesting, wondering what changed in the package-lock.json to break this! I tried removing a ton of extraneous dependencies to see if something else got smuggled in, to no avail. Something in the dependencies listed above is causing it :/ Edit: trying with |
Got it in a sandbox, making a new issue: https://codesandbox.io/s/invalid-block-demo-d4oty?file=/src/index.js |
Type: Bug
Severity: Critical
Description:
I'm getting invalid block error on init ipfs:
Steps to reproduce the error:
I'm just running code, and i'm don't know why it crashes on my server.
The text was updated successfully, but these errors were encountered: