Back to Tom Chambers home

Eyeball Mk 1

Eyeball) is a node cli tool I built to help you find all the missing packages that you’ve required in your app. Sometimes I want to deploy something and each time I do I get

1
2
3
4
5
Error: Cannot find module 'obscure'
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)

meaning I have to either keep deploying until I’ve caught them all or go for the nuclear rm -rf node_modules, npm install. So eyeball will just give you a list of node modules that are required but not listed in package.json. You can also use eyeball to add them with the currently installed version to your package.json.

On NPM | on Github