If an npm install fails with an error such as
npm ERR! install couldn't read dependenciesand IFF that error immediately follows warnings such as
WARN ... [YOUR_SERVER_NAME]@0,0,1 No repository field.where YOUR_SERVER_NAME is the name in that package.json file
WARN ... [YOUR_SERVERR_NAME]@0,0,1 No readme data.
THEN
you may notice the perhaps not obvious typo of 0,0,1 for 0.0.1 with commas and not '.', i.e., full-stop, dot, period as the version delimiter.
mea culpa
Now to get back to my nunjucks templating for Curl web content ( Curl, as in www.curl.com and curl-aca in /opt/curl/surge/9/bin
Reminder : do not use a sudo for npm install. Set the minimum privileges so that your, e.g., maintenance www group user, can run npm. without resorting to root privileges especially if the install is global.