cyruzzo / AboveVTT

GNU Affero General Public License v3.0
125 stars 58 forks source link

SyntaxError: "undefined" is not valid JSON for soundpad #1063

Closed bain2236 closed 1 year ago

bain2236 commented 1 year ago

Error:

Failed to start AboveVTT on https://www.dndbeyond.com/encounters/52fdb022-ea45-493e-821c-e1f01555f286?abovevtt=true
SyntaxError: "undefined" is not valid JSON
Error: SyntaxError: "undefined" is not valid JSON
    at showError (chrome-extension://ipcjcbhpofedihcloggaichibomadlei/CoreFunctions.js:98:13)
    at chrome-extension://ipcjcbhpofedihcloggaichibomadlei/Startup.js:39:9

Environment:

{"avttVersion":"0.88","browser":{"name":"Chrome","version":"111","mozilla":false,"chrome":true,"msie":false,"opera":false}}

I some how ended up with undefined being stored in local storage for SoundPads.

I deleted that that storage item thinking it would just get re-initialised around L360 in SoundPad.js

I then ended up with this error ReferenceError: AVTT_ENVIRONMENT is not defined

vlaminck commented 1 year ago

I think this has been solved in 0.90

github-actions[bot] commented 1 year ago

Included in 0.91-beta1

github-actions[bot] commented 1 year ago

Included in 0.91