faucet-pipeline / aiur

a simple styleguide generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aiur requires liveserve configuration

jacekbilski opened this issue · comments

While parsing configuration aiur hard assumes, that there's a liveserve configuration present. If it's not set, I'm getting

parseHost: undefined
/xxx/node_modules/faucet-pipeline-core/lib/server.js:37
	} else if(config.substr(0, 1) === ":") { // port only
	                 ^

TypeError: Cannot read properties of undefined (reading 'substr')
    at parseHost (/xxx/node_modules/faucet-pipeline-core/lib/server.js:37:19)

Minimal example is ./example, npm run compile fails with the message above.

Fixed (wow, a bit late I guess)