Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

-o option doesnt work under windows #59

Open
TobiaszCudnik opened this issue Nov 30, 2012 · 0 comments
Open

-o option doesnt work under windows #59

TobiaszCudnik opened this issue Nov 30, 2012 · 0 comments

Comments

@TobiaszCudnik
Copy link

The following command fails:

node ..\..\..\node_modules\eco\bin\eco ^
    -i views ^
    -o ..\build\views ^
    ..\views\listing.eco

with following error

C:\[...]\node_modules\eco\lib\command.js:215
          if (err) throw err;
                         ^
Error: Command failed: A subdirectory or file -p already exists.
Error occurred while processing: -p.
A subdirectory or file ..\\build\\views already exists.
Error occurred while processing: ..\\build\\views.

    at ChildProcess.exithandler (child_process.js:536:15)
    at ChildProcess.EventEmitter.emit (events.js:91:17)
    at maybeClose (child_process.js:634:16)
    at Process._handle.onexit (child_process.js:676:5)

When using -p it outputs JS code correctly. Windows XP.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant