Спасибо, выдает ошибку
npm ci
npm ERR! code EUSAGE
npm ERR!
npm ERR! The npm ci
command can only install with an existing package-lock.json or
npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm ERR! later to generate a package-lock.json file, then try again.
npm ERR!
npm ERR! Clean install a project
npm ERR!
npm ERR! Usage:
npm ERR! npm ci
npm install пробую
root@wirenboard-AMENMA3Q:~# npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /mnt/data/root/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open ‘/mnt/data/root/package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
на всякий случай apt npm upgrade, тоже ошибка
root@wirenboard-AMENMA3Q:~# apt upgrade npm
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libnode72 : Conflicts: nodejs-legacy
nodejs : Conflicts: npm
E: Broken packages