Skip to content

ng update to 22 An unhandled exception occurred: exports is not defined in ES module scope #584

Description

@sysmat
  • ng update
Name                                    Version                  Command to update
     -------------------------------------------------------------------------------------
      @angular/cli                            21.2.14 -> 22.0.0        ng update @angular/cli
      @angular/core                           21.2.16 -> 22.0.0        ng update @angular/core
      @testing-library/angular                19.3.0 -> 19.4.0         ng update @testing-library/angular
An unhandled exception occurred: exports is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and 
'frontend\node_modules\@testing-library\angular\package.json' contains "type": "module". 
To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions