Closed yoshuawuyts closed 10 years ago
Hey! How're you requiring envify? You should use the following if you want to pass in your own environment object:
var envify = require('envify/custom')
The main envify transform is for using with the command-line interface so won't take any arguments directly :)
Hah, that was exactly the problem. Thanks dude!
@hughsk I think you should add in the doc an exemple of using envify (not custom) because I just did the same mistake :) I found it quite confusing and understood that if we are not using the command line we should use envify custom
I'm probably doing something wrong, whenever I call
envify
my cli throws. Could you help me out?task.js:
cli error: