keppel / lotion

✨ Smooth, easy blockchain apps ✨
https://lotionjs.com
975 stars 133 forks source link

TypeError: app.listen is not a function #200

Closed cayden closed 3 years ago

cayden commented 4 years ago

When executing "node app.js ”,The following error occurred

TypeError: app.listen is not a function at Object. (/root/goApps/src/github.com/tendermint/counter/app.js:17:5) at Module._compile (internal/modules/cjs/loader.js:1151:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at internal/main/run_main_module.js:17:47

helmiatwork commented 3 years ago

@cayden repost issue #167

cayden commented 3 years ago

@helmiatwork thank you!