Skip to content

ENOENT: no such file or directory, stat 'C:\path\to\project\node_modules\.pnpm\node_modules\acorn-import-assertions #8960

@imalitavakoli

Description

@imalitavakoli

Current Behavior

When I run electron-builder install-app-deps command, I receive the following error: ENOENT: no such file or directory, stat 'C:\path\to\project\node_modules\.pnpm\node_modules\acorn-import-assertions.

Expected Behavior

I expect command script to finish its job successfully.

Package Manager Version
pnpm 9.15.4

electron-builder Version
25.1.8

Operating System
Windows

Additional Information

I believe this is happening because nowadays acorn-import-assertions package is deprecated and instead we have acorn-import-attributes package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions