Skip to content

[BUG] ENOENT: no such file or directory, open #2590

@maksimr

Description

@maksimr
node --version  
v14.15.3
npm --version  
6.14.9

STR:

mkdir -p /tmp/p/zoo && cd  /tmp/p/zoo && npm init -y \
&& mkdir -p /tmp/p/bar && cd  /tmp/p/bar && npm init -y && npm install ../zoo \
&& mkdir -p /tmp/p/foo && cd  /tmp/p/foo && npm init -y && npm install ../zoo ../bar
 cd  /tmp/p/foo && npm ci
npm WARN prepare removing existing node_modules/ before installation
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /private/tmp/p/foo/node_modules/bar/node_modules/zoo/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/private/tmp/p/foo/node_modules/bar/node_modules/zoo/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Maybe relates to #529

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 6.xwork is associated with a specific npm 6 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions