rasa-nlurasa-corerasarasa-x

Rasa chatbot : "Failed to install frontend dependencies. Check logs for details."


I have an issue with Rasa X. Installation part is successful but when I executed "rasa x" command I'm getting below error and a new browser window is opened and showing cat images with text: "Frontend compiling-and now ...we wait"

(venv) user@DELL-Admin:~/PycharmProjects/Rasa_chatbot$ rasa x 
Starting Rasa X in local mode... 
๐Ÿš€ Building frontend (development mode)... 
make: *** No rule to make target 'install-frontend'.  Stop. 
Failed to install frontend dependencies. Check logs for details. 
Process Process-2: 
Traceback (most recent call last):   
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in
    _bootstrap
        self.run()   
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
        self._target(*self._args, **self._kwargs)   
File "/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community     /api/blueprints/interface.py", line 65, in run_build
        "Frontend install failed! Check the logs for details.",   
File "/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community/api/blueprints/interface.py", line 37, in _write_index_html
        os.mkdir(path) 
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasax/community/api/blueprints/../../../../../../src/frontend/build' /home/user/PycharmProjects/Rasa_chatbot/venv/lib/python3.6/site-packages/rasa/core/training/dsl.py:422: UserWarning: Found unknown intent 'greet' on line 2. Please, make sure that all intents are listed in your domain yaml.   docs=DOCS_URL_DOMAINS,

    The server is running at http://localhost:5002/login?username=me&password=weZD6Q9KLFjUN

    2020-03-28 13:28:24.557697: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)

When I execute "rasa train" and "rasa shell" commands then I have no errors but when I execute the "rasa x" command then I'm getting error?


Solution

  • Here comes the latest version of Rasa x just update your Rasa x with below command: I tested it, its working fine. Just update it

    pip install rasa-x==0.27.2 --extra-index-url https://pypi.rasa.com/simple
    

    Activate virtual environment before running this code.

    Note Configuration:
    
    Rasa - 1.9.3
    Rasa SDK - 1.9.0
    Rasa x - 0.27.2
    

    Don't install Rasa X versions(0.27.0 & 0.27.1) dependencies are not supported.