Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created February 22, 2013 05:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raynos/7853fe4ee7a87870be2a to your computer and use it in GitHub Desktop.
Save Raynos/7853fe4ee7a87870be2a to your computer and use it in GitHub Desktop.
$ npm run example
> form-data-set@0.1.1 example /home/raynos/Documents/form-data-set
> browservefy ./examples/simple.js --browserify='browserify-server' --live -- --debug --bundle
listening on 9966
using browserify-server
live reload server listening on port 9967 reloading on files /home/raynos/Documents/form-data-set
200 2ms 250B /index.html (generated)
200 486ms 87.34KB /examples/simple.js -> browserify-server ./examples/simple.js --debug --bundle
404 1ms 9B /favicon.ico
200 1ms 250B /index.html (generated)
/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:461
throw moduleError('Cannot find module');
^
Error: Cannot find module: "foo" from directory "/home/raynos/Documents/form-data-set/examples" while processing file /home/raynos/Documents/form-data-set/examples/simple.js
at moduleError (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:422:16)
at Function.Wrap.require (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:461:19)
at Function.module.exports.Object.keys.forEach.self.(anonymous function) [as require] (/home/raynos/Documents/form-data-set/node_modules/browserify/index.js:158:28)
at Wrap.addEntry (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:239:14)
at Array.forEach (native)
at Function.Wrap.addEntry (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:231:22)
at Function.module.exports.Object.keys.forEach.self.(anonymous function) [as addEntry] (/home/raynos/Documents/form-data-set/node_modules/browserify/index.js:158:28)
at createBundle (/home/raynos/Documents/form-data-set/node_modules/browserify-server/index.js:38:12)
at bundle (/home/raynos/Documents/form-data-set/node_modules/browserify-server/index.js:14:18)
at Object.<anonymous> (/home/raynos/Documents/form-data-set/node_modules/browserify-server/bin/browserify-server.js:30:16)
200 451ms 0B /examples/simple.js -> browserify-server ./examples/simple.js --debug --bundle
404 1ms 9B /favicon.ico
200 1ms 250B /index.html (generated)
/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:461
throw moduleError('Cannot find module');
^
Error: Cannot find module: "foo" from directory "/home/raynos/Documents/form-data-set/examples" while processing file /home/raynos/Documents/form-data-set/examples/simple.js
at moduleError (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:422:16)
at Function.Wrap.require (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:461:19)
at Function.module.exports.Object.keys.forEach.self.(anonymous function) [as require] (/home/raynos/Documents/form-data-set/node_modules/browserify/index.js:158:28)
at Wrap.addEntry (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:239:14)
at Array.forEach (native)
at Function.Wrap.addEntry (/home/raynos/Documents/form-data-set/node_modules/browserify/lib/wrap.js:231:22)
at Function.module.exports.Object.keys.forEach.self.(anonymous function) [as addEntry] (/home/raynos/Documents/form-data-set/node_modules/browserify/index.js:158:28)
at createBundle (/home/raynos/Documents/form-data-set/node_modules/browserify-server/index.js:38:12)
at bundle (/home/raynos/Documents/form-data-set/node_modules/browserify-server/index.js:14:18)
at Object.<anonymous> (/home/raynos/Documents/form-data-set/node_modules/browserify-server/bin/browserify-server.js:30:16)
200 494ms 0B /examples/simple.js -> browserify-server ./examples/simple.js --debug --bundle
404 0ms 9B /favicon.ico
404 1ms 9B /favicon.ico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment