Skip to content

[fix provided] Angular 20.2+ pulls in source-map 0.7.x leading to: Can't resolve 'url' in 'node_modules/source-map/lib' #154

@NathanWalker

Description

@NathanWalker

20.1 and lower used source-map < 0.7.

To fix this, you can add this to your package.json, then ns clean before running:

"overrides": {
  "@angular-devkit/core": {
    "source-map": "0.6.1"
  },
  "@angular-devkit/build-angular": {
    "source-map": "0.6.1"
  },
  "source-map": "0.6.1"
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions