Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Error running ndb on Windows 10 x64 #309

Open
pacop opened this issue Apr 8, 2020 · 0 comments
Open

Error running ndb on Windows 10 x64 #309

pacop opened this issue Apr 8, 2020 · 0 comments

Comments

@pacop
Copy link

pacop commented Apr 8, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant