NativeScript / NativeScript/angular

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

Open
#154 0 comments 0 reactions 1 assignee View on GitHub

@NathanWalker is already working on this.

Since Sep 9, 2025.

Dominant language
TypeScript
Stars
55
Forks
13
Avg merge
16m
Merged PRs (30d)
1

Description

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"
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.