mwaylabs / Espresso

The-M-Projects build tools using node.js.
www.the-m-project.org
Other
84 stars 28 forks source link

creating a second view with 'espresso generate -v nameN' isn't possible #43

Closed hano closed 12 years ago

hano commented 12 years ago

node --version v0.6.0 Espresso 0.7.2

done this:

espresso init -p test Project successfully generated! cd test/ espresso generate -v p1 LOG: /private/tmp/test/app/views/p1.js generated! espresso generate -v p2

Espresso/generator/file_generator.js:55 throw err; ^ Error: EEXIST, File exists '/private/tmp/test/app/views/'

error occurred with node version higher than 4.12

hano commented 12 years ago

it seems that the error codes have changed with a version change from node. error code for: File exists is now 46

hano commented 12 years ago

Fixed in version 0.7.3