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
2531
+
```
2532
+
2533
+
To fix this error, ensure the importing file is inside one of the package
2534
+
directories listed in the package map, or add a new package entry whose `path`
2535
+
covers the importing file.
2536
+
2537
+
<aid="ERR_PACKAGE_MAP_INVALID"></a>
2538
+
2539
+
### `ERR_PACKAGE_MAP_INVALID`
2540
+
2541
+
<!-- YAML
2542
+
added: REPLACEME
2543
+
-->
2544
+
2545
+
The [package map][] configuration file is invalid. This can occur when:
2546
+
2547
+
* The file does not exist at the specified path.
2548
+
* The file contains invalid JSON.
2549
+
* The file is missing the required `packages` object.
2550
+
* A package entry is missing the required `path` field.
0 commit comments