Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sergkudinov opened this issue Mar 1, 2023 · 0 comments · Fixed by #190
Closed

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

sergkudinov opened this issue Mar 1, 2023 · 0 comments · Fixed by #190

Comments

@sergkudinov
Copy link
Contributor

sergkudinov commented Mar 1, 2023

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

  • install Node.js v14.6.0
  • run npm install && npm run dev
  • open http://localhost:3000 in a browser

Solution

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

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

Successfully merging a pull request may close this issue.

1 participant