Can't install node modules

Created on 3 November 2023, about 1 year ago
Updated 5 November 2023, about 1 year ago

Problem/Motivation

In subtheme directory:

npm i
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/user/.npm/_cacache/tmp/0YBffC/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/user/.npm/_cacache/tmp/0YBffC/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in: /home/user/.npm/_logs/2023-11-03T11_44_39_530Z-debug-0.log

And not exist node_modules and package_lock.json.

Steps to reproduce

Create subtheme with script.
Run npm i.

I'll try
npm cache verify

npm@10.2.3
node@v20.9.0

🐛 Bug report
Status

Active

Version

9.0

Component

Code

Created by

🇷🇺Russia vvs Russia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024