We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5849135 commit 0727fc4Copy full SHA for 0727fc4
1 file changed
lib/internal/modules/package_map.js
@@ -73,7 +73,7 @@ class PackageMap {
73
74
const entries = ObjectEntries(data.packages);
75
for (let i = 0; i < entries.length; i++) {
76
- const { 0: key, 1: entry } = entry;
+ const { 0: key, 1: entry } = entries[i];
77
if (!entry.path) {
78
throw new ERR_PACKAGE_MAP_INVALID(this.#configPath, `package "${key}" is missing "path" field`);
79
}
0 commit comments