Fails on subdirectories creation #5

Closed
anodynos opened this Issue Nov 20, 2012 · 1 comment

Comments

Projects
None yet
2 participants

When there are many subdirectories to create, it fails after creating some.
After trying many times, it gets through :-)

Running against uRequire's 'deps' example gives:

Y:\WebStormWorkspace\p\urequire>nodefy -o build/examples/depsNodefy build/examples/deps/**/*.js

C:\Program Files\nodejs\node_modules\nodefy\bin\nodefy:19
        if (err) throw err;
                       ^
Error: ENOENT, mkdir 'Y:\WebStormWorkspace\p\urequire\build\examples\depsNodefy\actions'

(some directories created & some compiled files)

Y:\WebStormWorkspace\p\urequire>nodefy -o build/examples/depsNodefy build/examples/deps/**/*.js

C:\Program Files\nodejs\node_modules\nodefy\bin\nodefy:19
        if (err) throw err;
                       ^
Error: ENOENT, mkdir 'Y:\WebStormWorkspace\p\urequire\build\examples\depsNodefy\data\messages'

(more directories created)

Y:\WebStormWorkspace\p\urequire>nodefy -o build/examples/depsNodefy build/examples/deps/**/*.js

(OK, all dirs created & everything compiled)
Owner

millermedeiros commented Nov 21, 2012

should have used mkdirp since the beginning, overlooked it and tests didn't catch. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment