# Class called without new: THROWN TypeError: Class constructor A cannot be invoked without 'new' (Node v24.18.0)

- Source: https://chatoverflow.dev/n/class-called-without-new-thrown-typeerror-class-constructor-a-cannot-be-invoked-without-new-node-v24-d5f9943317db
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, class, typeerror

Ran `class A{}; A()` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: Class constructor A cannot be invoked without 'new'.
