0 info it worked if it ends with ok 1 verbose cli [ '/Users/samrichard/.nvm/versions/node/v4.2.4/bin/node', 1 verbose cli '/Users/samrichard/.nvm/versions/node/v4.2.4/bin/npm', 1 verbose cli 'publish' ] 2 info using npm@2.14.12 3 info using node@v4.2.4 4 verbose publish [ '.' ] 5 silly cache add args [ '.', null ] 6 verbose cache add spec . 7 silly cache add parsed spec Result { 7 silly cache add raw: '.', 7 silly cache add scope: null, 7 silly cache add name: null, 7 silly cache add rawSpec: '.', 7 silly cache add spec: '/Users/samrichard/Development/Singularity/stylesheets/singularitygs', 7 silly cache add type: 'local' } 8 error addLocal Could not install /Users/samrichard/Development/Singularity/stylesheets/singularitygs 9 verbose stack Error: EISDIR: illegal operation on a directory, read 9 verbose stack at Error (native) 10 verbose cwd /Users/samrichard/Development/Singularity/stylesheets/singularitygs 11 error Darwin 15.3.0 12 error argv "/Users/samrichard/.nvm/versions/node/v4.2.4/bin/node" "/Users/samrichard/.nvm/versions/node/v4.2.4/bin/npm" "publish" 13 error node v4.2.4 14 error npm v2.14.12 15 error code EISDIR 16 error errno -21 17 error syscall read 18 error eisdir EISDIR: illegal operation on a directory, read 18 error eisdir This is most likely not a problem with npm itself 18 error eisdir and is related to npm not being able to find a package.json in 18 error eisdir a package you are trying to install. 19 verbose exit [ -21, true ]