To publish using the command npm run release leads to log below:
Prerequisite check
✖ Ping npm registry
┌───────────────────────────────────────────────────┐
│ np update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /root/.config │
└───────────────────────────────────────────────────┘
Description
To publish using the command
npm run release
leads to log below:Prerequisite check ✖ Ping npm registry
┌───────────────────────────────────────────────────┐ │ np update check failed │ │ Try running with sudo or get access │ │ to the local update config store via │ │ sudo chown -R $USER:$(id -gn $USER) /root/.config │ └───────────────────────────────────────────────────┘
Environment
np - "^7.6.2" Node.js - ">=16.0.0" npm - ">=6.9.0" OS - Ubuntu 20.04.5 LTS