pinheadmz / handout

A combination authoritative nameserver and webserver for Handshake.
https://medium.com/@matthewzipkin/building-a-secure-website-on-your-handshake-tld-a8922a950a4f
72 stars 11 forks source link

Error executing #13

Open 0xnim opened 2 years ago

0xnim commented 2 years ago

└─$ sudo node lib/handout.js 1 ⨯ /home/nim1com/handout/lib/webserver.js:10 this.domain = options.domain.slice(0, -1), ^

TypeError: Cannot read properties of null (reading 'slice') at new Webserver (/home/nim1com/handout/lib/webserver.js:10:34) at Object. (/home/nim1com/handout/lib/handout.js:23:19) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47

pinheadmz commented 2 years ago

Did you run hnssec-gen.js? https://github.com/pinheadmz/handout#2-configure