ndb
ndb copied to clipboard
Error running ndb on Windows 10 x64
Steps to reproduce
Tell us about your environment:
- ndb version: 1.1.5
- Platform / OS version: Windows 10 / x64
- Node.js version: 12.2.0
What steps will reproduce the problem?
Both ndb installed globally and local reports the very same error.
- npm -g install ndb
- ndb .\src\js\index.js
- ndb downloads chromium, and then an error is raised.
What happens instead?
ndb crashes and an empty window is shown.
unhandledRejection TypeError: Cannot read property 'data' of undefined
at new Backend (C:\Users\name\AppData\Roaming\npm\node_modules\ndb\lib\backend.js:29:64)
at load (C:\Users\name\AppData\Roaming\npm\node_modules\ndb\lib\launcher.js:72:62)
at launch (C:\Users\name\AppData\Roaming\npm\node_modules\ndb\lib\launcher.js:61:3)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
¿Desea terminar el trabajo por lotes (S/N)? S
The following window appears:

I have very briefly debugged and window.paramsForReuse() is returning undefined at https://github.com/GoogleChromeLabs/ndb/blob/master/lib/backend.js#L29.