Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

dgram shim #11

substack opened this Issue Mar 21, 2013 · 0 comments


None yet
1 participant

substack commented Mar 21, 2013

While trying to browserify request I noticed that we don't have a dummy shim for the 'dgram' module:

$ browserify main.js > bundle.js

      throw er; // Unhandled stream error in pipe.
Error: module not found: "dgram" from file /home/substack/projects/request-browser-test/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js
    at /home/substack/projects/node-browserify/node_modules/module-deps/index.js:55:52
    at Browserify._resolve (/home/substack/projects/node-browserify/index.js:286:9)
    at resolve (/home/substack/projects/node-browserify/node_modules/browser-resolve/index.js:49:16)
    at Browserify._resolve (/home/substack/projects/node-browserify/index.js:281:12)
    at walk (/home/substack/projects/node-browserify/node_modules/module-deps/index.js:53:9)
    at module.exports.rec.id (/home/substack/projects/node-browserify/node_modules/module-deps/index.js:107:13)
    at Array.forEach (native)
    at parseDeps (/home/substack/projects/node-browserify/node_modules/module-deps/index.js:106:14)
    at done (/home/substack/projects/node-browserify/node_modules/module-deps/index.js:96:13)
    at applyTransforms (/home/substack/projects/node-browserify/node_modules/module-deps/index.js:79:41)

Just an empty file would do.

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