ndb icon indicating copy to clipboard operation
ndb copied to clipboard

Error running ndb on Windows 10 x64

Open pacop opened this issue 6 years ago • 0 comments

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.

  1. npm -g install ndb
  2. ndb .\src\js\index.js
  3. 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: 2020-04-08-133620_1548x969_scrot

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

pacop avatar Apr 08 '20 11:04 pacop