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
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.