Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

TypeError: Cannot read property 'put' of undefined #1194

Closed
@barnendu

Description

Version: 0.27.7
Platform:
ProductName: windows 10
ProductVersion:
BuildVersion:
Type: Bug
Severity: Medium
Description:
Getting TypeError: Cannot read property 'put' of undefined

Steps to reproduce the error:
› node src/index.js

C:\Users\Raju\test-ipfs\node_modules\ipfs-block-service\src\index.js:64
this._repo.blocks.put(block, callback)
^

TypeError: Cannot read property 'put' of undefined
at BlockService.put (C:\Users\Raju\test-ipfs\node_modules\ipfs-block-service\src\index.js:64:23)
at waterfall (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\src\index.js:390:28)
at nextTask (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\node_modules\async\waterfall.js:16:14)
at next (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\node_modules\async\waterfall.js:23:9)
at C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\node_modules\async\internal\onlyOnce.js:12:16
at Object.serialize (C:\Users\Raju\test-ipfs\node_modules\ipld-dag-pb\src\util.js:34:3)
at waterfall (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\src\index.js:389:22)
at nextTask (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\node_modules\async\waterfall.js:16:14)
at exports.default (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\node_modules\async\waterfall.js:26:5)
at IPLDResolver._put (C:\Users\Raju\test-ipfs\node_modules\ipld-resolver\src\index.js:388:5)

Metadata

Assignees

No one assigned

    Labels

    kind/supportA question or request for support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions