Closed nichoth closed 3 years ago
path
should have been taken care of by path-browserify. Not exactly sure what your setup is, but that should be the problem.
yes it's perplexing
the build process is just a simple browserify script
"build": "browserify -p esmify --debug ./src/index.js > public/bundle.js",
It turns out it was my dependency budo
that was causing the error because it was using an outdated version of browserify. So i replaced it with my own fork
"budo": "https://github.com/nichoth/budo.git",
thanks
Great you found it :)
This is from jitdb line 87 … i don't understand it. When i log
path
, it doesn't haveparse
indeed, but it is in the docs.Was in my demo here -- https://github.com/nichoth/ssb-browser-demo/blob/main/src/index.js
I opened another browser in a private window (different public key) and followed the second browser by publishing a message like
Ever since publishing that message it started throwing that error