-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Using npm packages" / problem 2 - issue with "prompt" #12
Comments
Node does not have
Open html page in the browser and turn on the console to see the output. |
I am getting the same problem - how should verify be run? Here's my code which runs fine stand alone var uniq = require("uniq") prompt.start() Here's my output prompt: message: one,two,three,two,three,four,three,four,five,six
browserify usingNPM.js | browserify-adventure verify TAP version 13 (anonymous)not ok 1 2 files
...
... /usr/local/lib/node_modules/browserify-adventure/problems/using_npm_packages/index.js:30 TypeError: Cannot read property 'deps' of undefined
|
Hi,
My node doesn't have "prompt".
If I use the "prompt" npm module, the solution looks different to the one I can see in https://github.com/substack/browserify-adventure/blob/master/solutions/using_npm_packages/main.js currently.
So I tried using npm "prompt" but I get an error when piping to browserify-adventure run.
(I get: "undefined:869 \n var files = fs.readdirSync(dir); ...")
The text was updated successfully, but these errors were encountered: