-
Notifications
You must be signed in to change notification settings - Fork 304
Issue with windows #138
Comments
hmm we must be able to exec a specific file on windows, without this you cant use component(1) unless globally installed |
Hmm, true One option would be to just load them using |
loading them with require() isnt the same as invoking them with proper args etc |
The problem is that |
going to close but only because component shouldn't even have to worry about this |
tbh I think it's not too big a deal if for now we make sure that all our docs take the form |
we could always use work-arounds for now like your win-spawn module, that sort of idea, that we can weed out once node core is not a mess |
In the component script:
Means we use the full path to the command, rather than just
component-command
we useC:\\Users\\Forbes\\AppData\\Roaming\\npm\\node_modules\\component\\bin\\component-command
which doesn't work on windows. I'm not sure if this is needed elsewhere? It breakscomponent command
and forces you to usecomponent-command
. A quick fix would be to instead do:but I understand we don't want too much OS specific stuff slipping in... Thoughts @visionmedia?
The text was updated successfully, but these errors were encountered: