Skip to content

Instantly share code, notes, and snippets.

@kumavis
Created August 3, 2013 17:00
Show Gist options
  • Save kumavis/6147131 to your computer and use it in GitHub Desktop.
Save kumavis/6147131 to your computer and use it in GitHub Desktop.
/usr/local/share/npm/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:91
var dir = path.resolve(x, pkg.main);
^
TypeError: Cannot read property 'main' of undefined
at /usr/local/share/npm/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:91:54
at load (/usr/local/share/npm/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:54:43)
at /usr/local/share/npm/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:60:22
at /usr/local/share/npm/lib/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:16:47
at Object.oncomplete (fs.js:107:15)
@kumavis
Copy link
Author

kumavis commented Aug 3, 2013

$ npm list
[email protected] /Users/kumavis/Dropbox/Development/node/node-blockly-js-editor
├── [email protected] (git://github.com/kumavis/node-blockly.git#04a4131e20b98441fcc1e144356acbaf097f8324)
├── [email protected]
├─┬ [email protected] (git://github.com/kumavis/javascript-editor.git#33dd983bebbd3036fd66968ed52a2e22d2984ee0)
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
└─┬ [email protected]
├── [email protected]
└── [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment