Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-22998

FIWARE.Question.Tech.Cannot run Fiware tutorial on github.

    Details

      Description

      Created question in FIWARE Q/A platform on 05-12-2023 at 12:12
      Please, ANSWER this question AT https://stackoverflow.com/questions/77605912/cannot-run-fiware-tutorial-on-github

      Question:
      Cannot run Fiware tutorial on github

      Description:
      I am trying to run the tutorial on https://github.com/FIWARE/tutorials.Time-Series-Data but I can't. Cygwin gives me the following error when I run ./services create:
      $ ./services create
      ./services: line 16: $'\r': command not found
      : invalid option 17: set: -
      set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
      ./services: line 18: $'\r': command not found
      ./services: line 30: syntax error near unexpected token $'{\r''
      '/services: line 30: loadData () {

      It seems like the script has
      Windows-style line endings (\r\n or carriage return + line feed) which are causing the problems. I tried the command "dos2unix ./services" but getting the following error:
      ': not a valid identifierort:

      I've even tried wsl with Ubuntu and Alpine distros but still the same error: ': not a valid identifierort:
      I am running out of options at this stage so any help would be appreciated.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8h 8m 1 Backlog Manager 05/Feb/25 2:00 AM
        In Progress In Progress Answered Answered
        1d 1 Backlog Manager 06/Feb/25 2:01 AM
        Answered Answered Closed Closed
        24d 2m 1 Backlog Manager 02/Mar/25 2:03 AM

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            newbacklogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: