Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code example in 02 Managing Data errors #163

Open
MinmoTech opened this issue Feb 25, 2022 · 0 comments
Open

Code example in 02 Managing Data errors #163

MinmoTech opened this issue Feb 25, 2022 · 0 comments

Comments

@MinmoTech
Copy link

MinmoTech commented Feb 25, 2022

When running the code in https://github.com/orbitdb/field-manual/tree/main/code_examples/01_Tutorial/02_Managing_Data I get the following error:

index.min.js:2 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
    at e5e (index.min.js:2:44263)
    at Object.encode (index.min.js:2:44408)
    at WC.encode (index.min.js:2:43603)
    at N5e (index.min.js:2:55810)
    at g6e (index.min.js:120:385785)
    at b6e.wantBlock (index.min.js:120:386044)
    at k6e.get (index.min.js:120:392581)
    at Uce.get (index.min.js:113:29555)
    at hb.get (index.min.js:113:63383)
    at index.min.js:52:118794
  | e5e | @ | index.min.js:2
-- | -- | -- | --
  | encode | @ | index.min.js:2
  | encode | @ | index.min.js:2
  | N5e | @ | index.min.js:2
  | g6e | @ | index.min.js:120
  | wantBlock | @ | index.min.js:120
  | get | @ | index.min.js:120
  | get | @ | index.min.js:113
  | get | @ | index.min.js:113
  | (anonymous) | @ | index.min.js:52
  | (anonymous) | @ | index.min.js:28
  | NPP.onready | @ | (index):16
  | await in NPP.onready (async) |   |  
  | _init | @ | newpieceplease.js:34
  | await in _init (async) |   |  
  | create | @ | newpieceplease.js:18
  | await in create (async) |   |  
  | (anonymous) | @ | (index):51

I simply downloaded the files and started a webserver with python -m http.server 8000

Edit: same issue here: https://github.com/orbitdb/field-manual/tree/main/code_examples/01_Tutorial/03_Structuring_Data

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

No branches or pull requests

1 participant