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

ipfs.add fails with TypeError: "can't convert undefined to object" #2090

@lidel

Description

@lidel
  • Version: 0.36.0, prebuild browser bundle
  • Platform: web browser (Chrome & Firefox)
  • Subsystem: ipfs.add

Type: Bug

Severity: High

Description:

ipfs.add with prebuilt bundle for use in browser produces error:

2019-05-22--14-46-42

Steps to reproduce the error:

I prepared two apps to demonstrate the issue:

  • ipfs.add under 0.35.0 using Buffer: demo works ok
    • replace js-ipfs with 0.36.0 and it will fail
  • ipfs.add under 0.36.0 using File: demo fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical: Tackled by core team ASAPexp/noviceSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)status/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions