SafariBooks-Downloader icon indicating copy to clipboard operation
SafariBooks-Downloader copied to clipboard

Unable to install

Open stblack opened this issue 5 years ago • 1 comments

I just followed the steps to install, but unfortunately there is something not working. help ? Thanks

MacBook:~ stblack$ node -v v6.11.0 MacBook:~ stblack$ npm -v 3.10.10 MacBook:~ stblack$ git clone https://github.com/nicohaenggi/SafariBooks-Downloader.git Cloning into 'SafariBooks-Downloader'... remote: Enumerating objects: 170, done. remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170 Receiving objects: 100% (170/170), 80.26 KiB | 371.00 KiB/s, done. Resolving deltas: 100% (62/62), done. MacBook:~ stblack$ npm install npm WARN enoent ENOENT: no such file or directory, open '/Users/stblack/package.json' npm WARN stblack No description npm WARN stblack No repository field. npm WARN stblack No README data npm WARN stblack No license field. MacBook:~ stblack$ npm install -g npm ERR! addLocal Could not install /Users/stblack npm ERR! Darwin 18.7.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" npm ERR! node v6.11.0 npm ERR! npm v3.10.10 npm ERR! code EISDIR npm ERR! errno -21 npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request: npm ERR! /Users/stblack/npm-debug.log MacBook:~ stblack$ safaribooks-downloader --version -bash: safaribooks-downloader: command not found

stblack avatar Sep 15 '19 09:09 stblack

you need to go to cloned folder SafariBooks-Downloader, package.json is there which needed for your npm install.

robertluwang avatar Nov 16 '19 16:11 robertluwang