Menu

#13 ERROR: YAWS module not loaded when starting refactorERL web interface, though YAWS is up and running on port 8000

v1.0 (example)
open
nobody
None
1
2025-02-07
2025-02-07
Muqaddas
No

Hi Team,

I have been trying to start refactorERL web interface by following the steps given below, however, I am facing the issues mentioned .

Step 1: I installed Yaws following the instruction here:
https://github.com/erlyaws/yaws
Step 2: Download RefactorERL and build with following command:
bin/referl -build tool -yaws_path /usr/local/Cellar/yaws/2.2.0/lib/yaws-2.2.0/ebin
Step 3: Tried to start RefactorERL web interface, I am getting following error:

muqaddasnaz@Muqaddass-MacBook-Pro tool % bin/referl -web
{"Yaws module is not loaded",{referl_ui_web2,start,[normal,[]]}}
{exit,"Cannot start web2.",[{referl_ui_web2,start,6,[{file,"lib/referl_ui/src/referl_ui_web2.erl"},{line,81}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}
Runtime terminating during boot ("Cannot start web2.")

Earlier I was getting YAWS server crashed error when trying to start wen interface of refactorERL on port localhost:8001 in browser, but now I am getting the error in terminal itself

I made sure to start YAWS before starting web interface in background using --deamon option, when I check status, its up and running on port 8000, still getting error, YAWS module not loaded

YAWS Version: 2.2.0
Erlang version: 27.0
System spec:

  • MacBook: Apple M2 Pro
  • Disk: Macintosh HD
  • OS: Sequoia V15.2
  • Xcode: V16.2

Thanks,
Muqaddas

Discussion


Log in to post a comment.