Skip to content

ENOENT: no suh file or directory, mkdir 'C:\Users\zec_iiii\AppData\Local\pnpm\store\v3\@api.observablehq.com+@d3@[email protected]?v=3' #4716

@Acceyuriko

Description

@Acceyuriko

image

There is a question mark in the path 'C:\Users\zec_iiii\AppData\Local\pnpm\store\[email protected]+@d3@[email protected]?v=3' .
Maybe the dirname should be sanitized?
Besides, errors in white are the result of truncation of errors in red, maybe the path is too long?

pnpm version:

7.0.1

Code to reproduce the issue:

pnpm add @observablehq/runtime@4 'https://api.observablehq.com/@d3/[email protected]?v=3'

Expected behavior:

Dependencies are installed.

Actual behavior:

Throw ENOENT.

Additional information:

  • node -v prints: v16.13.1
  • Windows, macOS, or Linux?: Windows 11 22H2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions