substack/node-browserify — Issue #114: Disabling ~/.config/browserify writing?
Author: leeolayvar
Created: 2012-02-01 16:39:14+00:00
State: open

I am attempting to use Browserify as middleware with the Flatiron framework and ran into a hitch.

It seems, by default at least, Browserify takes it upon itself to attempt to write to ~/.config/browserify with the following code, found in the readme,

```
require('browserify')(__dirname +'/../client/main.js')
```

The problem is, in a secure environment this completely fails, resulting in this error:

```
Error: EACCES, Permission denied '/home/you/.config/browserify'
```

So. How does one go about using middleware without Browserify attempting to write files to ~/.config/browserify?