You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, how to execute the wireguard.js script correctly? I have node installed, but the script does not execute?
# node -v
v18.19.1
# node wireguard.js
/root/wireguard.js:174
window.wireguard = {
^
ReferenceError: window is not defined
at /root/wireguard.js:174:2
at Object.<anonymous> (/root/wireguard.js:184:3)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
at node:internal/main/run_main_module:28:49
Node.js v18.19.1
The text was updated successfully, but these errors were encountered:
Please, how to execute the wireguard.js script correctly? I have node installed, but the script does not execute?
The text was updated successfully, but these errors were encountered: