Skip to content

Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined. #12379

Description

@yusifaliyevpro

Last pnpm version that worked

11.5.2

pnpm version

11.6.0

Code to reproduce the issue

pnpm add .... (any package(s) doesn't matter)

$ pnpm add next@latest
[ERROR] Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined.

pnpm: Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined.
    at file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:194270:15
    at Array.map (<anonymous>)
    at recursive (file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:194269:33)
    at async recursiveInstallThenUpdateWorkspaceState (file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:195371:27)
    at async installDeps (file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:195170:7)
    at async file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:303470:19
    at async main4 (file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:303438:30)
    at async runPnpm (file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:303705:5)
    at async file:///C:/Users/yusif/AppData/Local/pnpm/store/v11/links/@pnpm/exe/undefined/f000ff01d9d0591b07c0554048a10c1b7782e43b1659463d5e5d93a6a6fd1649/node_modules/@pnpm/exe/dist/pnpm.mjs:303698:3

Expected behavior

Should just work as previous.

Actual behavior

Gives this error: [ERROR] Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined.

Additional information

No response

Node.js version

24.15.0

Operating System

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions