ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Windows: `ionic resources` creates invalid paths in config.xml, using back-slash instead of front-slash

Open loban opened this issue 10 years ago • 6 comments

Ticket #625 was erroneously closed as a duplicate when it is completely different.

If one runs "ionic resources" on a windows machine, the paths generated into config.xml use back-slashes instead of front-slashes. Such a config.xml will

  1. Not work in linux or mac.
  2. Not even work in windows if you then run "ionic state restore" (if platforms and plugins folders are not generated yet).

Ionic CLI should always use front-slashes in all OS.

loban avatar Nov 01 '16 18:11 loban

Any news on this?

nicopeeters avatar Jan 03 '17 15:01 nicopeeters

+1

Same thing happened to me, Ionic version 2.2.1

AresDev avatar Feb 09 '17 16:02 AresDev

Same here on Ionic version 2.2.1 (even if I remember this issue popping up occasionally since version 1)

rnarian avatar Feb 23 '17 16:02 rnarian

Any fix on this ?

dearibujar avatar Sep 14 '17 09:09 dearibujar

@dearibujar Update your CLI to the latest version.

imhoffd avatar Sep 14 '17 15:09 imhoffd

Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.

Thank you for using Ionic!

ionitron-bot[bot] avatar Jul 12 '18 19:07 ionitron-bot[bot]