jnordberg/wintersmith-livereload

Install error

Closed this issue · 2 comments

Tried both

wintersmith plugin install livereload

and

sudo wintersmith plugin install livereload

Some dependency I'm not aware of?

Output:

/usr/local/Cellar/node/0.10.4/lib/node_modules/wintersmith/node_modules/npm/node_modules/lockfile/lockfile.js:46
      throw er
            ^
TypeError: path must be a string
    at Object.fs.open (fs.js:418:11)
    at Object.fs.readFile (fs.js:206:6)
    at /usr/local/Cellar/node/0.10.4/lib/node_modules/wintersmith/lib/core/utils.js:42:19
    at fn (/usr/local/Cellar/node/0.10.4/lib/node_modules/wintersmith/node_modules/async/lib/async.js:579:34)
    at Object._onImmediate (/usr/local/Cellar/node/0.10.4/lib/node_modules/wintersmith/node_modules/async/lib/async.js:495:34)
    at processImmediate [as _immediateCallback] (timers.js:317:15)

Installing with sudo npm install wintersmith-livereload makes the installation complete, but it does require the sudo (for a non global module?)

Looks like your npm permissions are a bit off, nothing related to this module i think