Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

Running `npm install blueimp-gallery` errors out

Open logankilpatrick opened this issue 3 years ago • 1 comments

When I run the install command, I get:

(base) logankilpatrick@MacBook-Pro-2 test % npm install blueimp-gallery
npm WARN saveError ENOENT: no such file or directory, open '/Users/logankilpatrick/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/logankilpatrick/package.json'
npm WARN logankilpatrick No description
npm WARN logankilpatrick No repository field.
npm WARN logankilpatrick No README data
npm WARN logankilpatrick No license field.

+ [email protected]
updated 1 package and audited 1 package in 0.329s
found 0 vulnerabilities

logankilpatrick avatar Jul 20 '22 21:07 logankilpatrick

Hi @logankilpatrick it does install blueimp-gallery:

+ [email protected]
updated 1 package and audited 1 package in 0.329s

However, the warnings:

npm WARN saveError ENOENT: no such file or directory, open '/Users/logankilpatrick/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/logankilpatrick/package.json'
npm WARN logankilpatrick No description
npm WARN logankilpatrick No repository field.
npm WARN logankilpatrick No README data
npm WARN logankilpatrick No license field.

are because you have ran this in a non-npm-directory, or in clear words: You are missing your package.json.

If you npm init in a directory before, and it creates your package.json, these warnings will be omitted.

sebastian-marinescu avatar May 01 '23 11:05 sebastian-marinescu