You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error [ERR_PACKAGE_MAP_EXTERNAL_FILE]: Cannot resolve "dep-a" from "/tmp/script.js": file is not within any package defined in /path/to/package-map.json
2513
+
```
2514
+
2515
+
To fix this error, ensure the importing file is inside one of the package
2516
+
directories listed in the package map, or add a new package entry whose `path`
2517
+
covers the importing file.
2518
+
2519
+
<aid="ERR_PACKAGE_MAP_INVALID"></a>
2520
+
2521
+
### `ERR_PACKAGE_MAP_INVALID`
2522
+
2523
+
<!-- YAML
2524
+
added: REPLACEME
2525
+
-->
2526
+
2527
+
The [package map][] configuration file is invalid. This can occur when:
2528
+
2529
+
* The file does not exist at the specified path.
2530
+
* The file contains invalid JSON.
2531
+
* The file is missing the required `packages` object.
2532
+
* A package entry is missing the required `path` field.
0 commit comments