Hey! I don't seem to make this work, Maybe I am missing a step?
const access_token = regex_token.exec(decodeURI(credentials))[1];
^
TypeError: Cannot read properties of null (reading '1')
at Object. (C:\Users....\Desktop\domestika-downloader-main\index.js:36:64)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Hey! I don't seem to make this work, Maybe I am missing a step?
const access_token = regex_token.exec(decodeURI(credentials))[1]; ^ TypeError: Cannot read properties of null (reading '1') at Object. (C:\Users....\Desktop\domestika-downloader-main\index.js:36:64)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47