I just reproduced this issue on Windows:
```sh
C:\Users\brodybits\Documents
λ rm -rf \Users\brodybits\.config\
C:\Users\brodybits\Documents
λ cordova --version
? May Cordova anonymously report usage statistics to improve the tool over
time? Yes
C:\Users\brodybits\AppData\Local\nvs\node\10.11.0\x64\node_modules\cordova\node_modules\insight\lib\index.js:156
prompt.close();
^
TypeError: prompt.close is not a function
at Insight.<anonymous>
(C:\Users\brodybits\AppData\Local\nvs\node\10.11.0\x64\node_modules\cordova\node_modules\insight\lib\index.js:156:10)
at ontimeout (timers.js:425:11)
at tryOnTimeout (timers.js:289:5)
at listOnTimeout (timers.js:252:5)
at Timer.processTimers (timers.js:212:10)
```
[ Full content available at: https://github.com/apache/cordova-cli/issues/337 ]
This message was relayed via gitbox.apache.org for [email protected]