CiscoDevNet / yangsuite

Cisco YANG Suite provides a set of tools and plugins to learn, test, and adopt YANG programmable interfaces such as NETCONF, RESTCONF, gNMI and more.
Other
237 stars 70 forks source link

Problem during installation of yangsuite docker: start_yang_suite.sh: line 2: $'\r': command not found #118

Closed filip-nikolic closed 1 month ago

filip-nikolic commented 1 month ago

Dear, All

I need your help with installation of Docker version of YangSuite. I followed instructions and when I run:

PS C:\Users\User\yangsuite\docker> bash start_yang_suite.sh

I am getting this information:

PS C:\Users\User\yangsuite\docker> bash start_yang_suite.sh start_yang_suite.sh: line 2: $'\r': command not found Hello, please setup YANG Suite admin user. start_yang_suite.sh: line 4: $'\r': command not found : invalid option.sh: line 6: read: - read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...] start_yang_suite.sh: line 8: $'\r': command not found : invalid option.sh: line 10: read: - read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...] start_yang_suite.sh: line 12: $'\r': command not found

start_yang_suite.sh: line 14: $'\r': command not found : invalid option.sh: line 16: read: - read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...] start_yang_suite.sh: line 18: $'\r': command not found

start_yang_suite.sh: line 20: $'\r': command not found start_yang_suite.sh: line 21: syntax error near unexpected token $'{\r'' 'tart_yang_suite.sh: line 21:die() {

Can you please advise me who to proceed? image Thanks,