jaredwray / flat-cache

A stupidly simple key/value storage using files to persist the data
MIT License
165 stars 30 forks source link

Missing utils.js #9

Closed confuser closed 8 years ago

confuser commented 8 years ago

v1.2.0 only includes cache.js as stated in package.json. Causing problems with ESLint.

> eslint --format=node_modules/eslint-formatter-pretty .

Cannot find module './utils'
Error: Cannot find module './utils'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/private/var/app/v1-customers/node_modules/eslint/node_modules/file-entry-cache/node_modules/flat-cache/cache.js:4:16)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
leizongmin commented 8 years ago

Met the same problem. The author was published a new version v1.2.1 and resoved this problem. Hehe

royriojas commented 8 years ago

Hi @confuser, @leizongmin

Sorry for the broken publish, v1.2.1 fixed the problem as @leizongmin correctly mention.

royriojas commented 8 years ago

duplicates #8