poeticninja / hapi-cache-buster

Browser asset cache buster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Global Installation

jaganathanb opened this issue · comments

I downloaded your 'https://github.com/poeticninja/hapi-ninja' and started installing required backages & tried to run the app but it was failing.

It gives me,

D:\Projects\NodeExamples\HapiEx1>node server
module.js:333
throw err;
^
Error: Cannot find module 'c:\Users----\AppData\Roaming\npm/package.jso
n'
at Function.Module._resolveFilename (module.js:331:15)
at Function.Module._load (module.js:273:25)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at exports.register (C:\Users----\AppData\Roaming\npm\node_modules
hapi-cache-buster\index.js:8:36)
at internals.Pack._plugin (C:\Users-----------\AppData\Roaming\npm\node_mo
dules\hapi\lib\pack.js:447:21)
at C:\Users-----------\AppData\Roaming\npm\node_modules\hapi\lib\pack.js:2
60:14
at iterate (C:\Users-------------\AppData\Roaming\npm\node_modules\hapi\node
_modules\items\lib\index.js:35:13)
at done (C:\Users-------------\AppData\Roaming\npm\node_modules\hapi\node_mo
dules\items\lib\index.js:27:25)
at exports.register (C:\Users---------\AppData\Roaming\npm\node_modules
hapi-named-routes\index.js:53:12)

But when i tried to install the hapi-cache-buster locally, the app was successfully launched.