OpenMRS JavaScript Ecosystem
  1. OpenMRS JavaScript Ecosystem
  2. OMRSJS-17

Remove and convert backslashes to resolve local deploy directory issues for window users

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: TBD TBD
    • Resolution: Fixed
    • Component/s: None
    • Labels:
    • Complexity:
      Undetermined

      Description

      While scaffolding a fresh webapp through openmrs owa generator, it automatically adds a trailing backslash to the local owa folder path. Due to this, user experiences an immediate build failure.
      The main aim is to remove the automatic addition of trailing backslashes.

      Reference links :

      https://github.com/psbrandt/generator-openmrs-owa/blob/master/app/index.js

      https://github.com/psbrandt/generator-openmrs-owa/blob/master/app/templates/webpack.config.js

        Gliffy Diagrams

          Activity

          Hide
          Pascal Brandt added a comment -

          I think this only happens on Windows, right Ankit Kumar?

          Show
          Pascal Brandt added a comment - I think this only happens on Windows, right Ankit Kumar ?
          Hide
          Ankit Kumar added a comment -

          Pascal Brandt Yes !! because in ubuntu, it automatically suggests the local path which contains only forward slashes. No trailing backslashes are used there !!

          Show
          Ankit Kumar added a comment - Pascal Brandt Yes !! because in ubuntu, it automatically suggests the local path which contains only forward slashes. No trailing backslashes are used there !!
          Hide
          Ankit Kumar added a comment -

          Pascal Brandt Issue resolved !!
          My link to the pull request : https://github.com/psbrandt/generator-openmrs-owa/pull/23

          Show
          Ankit Kumar added a comment - Pascal Brandt Issue resolved !! My link to the pull request : https://github.com/psbrandt/generator-openmrs-owa/pull/23

            People

            • Assignee:
              Ankit Kumar
              Reporter:
              Ankit Kumar
              Designated Committer:
              Ankit Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development