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

TypeError: TextDecoder is not a constructor when run js-ipfs/examples/browser-create-react-app/ #3624

Closed
devhyunjae opened this issue Apr 13, 2021 · 2 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@devhyunjae
Copy link

devhyunjae commented Apr 13, 2021

  • Version: github repo master branch latest version
  • Platform: macOS Big Sur v11.2.3. Browser: Chrome Version 89.0.4389.114 (Official Build) (x86_64)
  • Subsystem:

Severity:

Description:

  • What you did
    Followed as in the browser-create-react-app/README
$ git clone https://github.com/ipfs/js-ipfs.git
$ cd js-ipfs
$ npm install
$ npm run build
$ cd examples/browser-create-react-app/
$ npm install
$ npm run
  • What happened
    TypeError: TextDecoder is not a constructor

Screen Shot 2021-04-13 at 5 56 33 PM

  • What you expected to happen
    Should show the root page with no error

Steps to reproduce the error:

$ git clone https://github.com/ipfs/js-ipfs.git
$ cd js-ipfs
$ npm install
$ npm run build
$ cd examples/browser-create-react-app/
$ npm install
$ npm run
@devhyunjae devhyunjae added the need/triage Needs initial labeling and prioritization label Apr 13, 2021
@welcome
Copy link

welcome bot commented Apr 13, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@devhyunjae
Copy link
Author

devhyunjae commented Apr 13, 2021

duplicated. this helped me.
#3620 (comment)

Recommend to update example project to be runnable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

1 participant