IagoLast/Exquisite

TypeError: Cannot read property 'close' of undefined

Closed this issue · 1 comments

after sudo npm i --unsafe-perm=true exquisite-sst, invoking exquisite-sst produces the following error message:

TypeError: Cannot read property 'close' of undefined
    at Object.test (/usr/local/lib/node_modules/exquisite-sst/src/exquisite.js:22:16)
    at Object.<anonymous> (/usr/local/lib/node_modules/exquisite-sst/bin/exquisite.js:9:15)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:598:3

The error is because you are using the program with no parameters.

In any case the error is not very descriptive, is now solved in b779f1f with a better error message:

Error: Error: url parameter was not provided.