max-mapper / requirebin

write browser JavaScript programs using modules from NPM
requirebin.com
391 stars 80 forks source link

npm in requirebin #57

Open js08 opened 10 years ago

js08 commented 10 years ago

can u guys tell me how to include this package... i am not sure since I am new to requirebin https://github.com/mikeal/request http://jsfiddle.net/omb3rwqn/3/

kumavis commented 10 years ago

Getting this error in the console:

Uncaught Error: Cannot find module '../index'
/home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1s
/home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1s
/home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1
(anonymous function) /home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1require
.../index /tmp/request11485-14015-c3joa0/node_modules/request/lib/debug.js:2s
/home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1
(anonymous function) /home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1
(anonymous function) /tmp/request11485-14015-c3joa0/node_modules/request/request.js:33require
../lib/cookies /tmp/request11485-14015-c3joa0/node_modules/request/request.js:1496s
/home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1
(anonymous function) /home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1
(anonymous function) /tmp/request11485-14015-c3joa0/node_modules/request/index.js:165require
.request../lib/cookies /tmp/request11485-14015-c3joa0/node_modules/request/index.js:169s
/home/admin/browserify-cdn/node_modules/browserify/node_modules/browser-pack/_prelude.js:1
(anonymous function) /tmp/request11485-14015-c3joa0/node_modules/request/index.js:169

image