Skip to content

big fan- hardly any issues except this symlink error #9249

@ORESoftware

Description

@ORESoftware

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

9.15.4

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

private repo

Reproduction steps

not sure how I got here, but:


 ENOENT  Error while trying to symlink "../.pnpm/@types+dotenv@8.2.3/node_modules/@types/dotenv" to "/Users/alexandermills/codes/dd/dd-next-1/node_modules/@types/dotenv". The error happened while trying to create the parent directory for the symlink target. Details: Error: ENOENT: no such file or directory, mkdir '/Users/alexandermills/codes/dd/dd-next-1/node_modules/@types'

pnpm: Error while trying to symlink "../.pnpm/@types+dotenv@8.2.3/node_modules/@types/dotenv" to "/Users/alexandermills/codes/dd/dd-next-1/node_modules/@types/dotenv". The error happened while trying to create the parent directory for the symlink target. Details: Error: ENOENT: no such file or directory, mkdir '/Users/alexandermills/codes/dd/dd-next-1/node_modules/@types'

Describe the Bug

when running pnpm install it doesn't complete, it gets this symlink error which seems a little strange!!

Expected Behavior

It was working fine for months, haven't changed pnpm version tmk

Which Node.js version are you using?

v22.13.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions