gun icon indicating copy to clipboard operation
gun copied to clipboard

Example basic/private.html error: Uncaught TypeError: Cannot read properties of undefined (reading 'User')

Open chitoadinugraha opened this issue 2 years ago • 1 comments

Steps to reproduce:

  1. clone this repository
  2. run npm install
  3. run npm start
  4. open http://localhost:8765/basic/private.html
  5. found this error: private.html:98 Uncaught TypeError: Cannot read properties of undefined (reading 'User') at private.html:98:9

chitoadinugraha avatar Mar 01 '22 05:03 chitoadinugraha

The line uses user.grant which is deprecated

https://github.com/amark/gun/wiki/User#usergrant-deprecated

atordvairn avatar Mar 01 '22 11:03 atordvairn