TOSIT-IO / tdp-ui

Graphical interface for tdp-server
Apache License 2.0
3 stars 2 forks source link

TypeError: Cannot read property '0' of null #189

Closed sergkudinov closed 1 year ago

sergkudinov commented 1 year ago

Error when building or running dev on the minimal required Node.js v14.6.0:

TypeError: Cannot read property '0' of null
    at ModuleJob._instantiate (internal/modules/esm/module_job.js:112:77)
    at async ModuleJob.run (internal/modules/esm/module_job.js:137:5)
    at async Loader.import (internal/modules/esm/loader.js:162:24) {
  page: '/'
}

The issue related to multiline import/export and CSJ modules support, similar issue is here.

To reproduce

Solution

Minimal required version of Node.js for TDP UI is 14.13.0 where this problem is fixed.