# NPM ERROR!

**URL:** <https://forum.rasa.com/t/npm-error/29874>\
**Category:** Rasa Open Source\
**Created:** [June 7, 2020, 4:56pm UTC](https://forum.rasa.com/t/npm-error/29874 "2020-06-07T16:56:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sou90](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sou90](https://forum.rasa.com/u/Sou90)\
**Post date:** [June 7, 2020, 4:56pm UTC](https://forum.rasa.com/t/npm-error/29874/1 "2020-06-07T16:56:35Z")

</div>

I installed rasa open source on ubuntu 18 and when i do the command npm install it gives me this error!!

 ![error npm](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/5de6d7c835772d2985889a79318a1e9e202c462d.png)

---

<div class="post-metadata">

**Author:** ![MuraliChandran14](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/muralichandran14/32/9120_2.png) [@MuraliChandran14](https://forum.rasa.com/u/MuraliChandran14)\
**Post date:** [June 7, 2020, 5:04pm UTC](https://forum.rasa.com/t/npm-error/29874/2 "2020-06-07T17:04:37Z")

</div>

Hi @Sou90,

Rasa is available in python. You can refer here [Getting Started](https://rasa.com/docs/rasa/user-guide/installation/)`

---

<div class="post-metadata">

**Author:** ![Sou90](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sou90](https://forum.rasa.com/u/Sou90)\
**Post date:** [June 7, 2020, 5:20pm UTC](https://forum.rasa.com/t/npm-error/29874/4 "2020-06-07T17:20:39Z")

</div>

@MuraliChandran14i already installed rasa but i want to install botfront

---

<div class="post-metadata">

**Author:** ![MuraliChandran14](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/muralichandran14/32/9120_2.png) [@MuraliChandran14](https://forum.rasa.com/u/MuraliChandran14)\
**Post date:** [June 7, 2020, 5:56pm UTC](https://forum.rasa.com/t/npm-error/29874/5 "2020-06-07T17:56:17Z")

</div>

You can refer to this [botfront](https://www.npmjs.com/package/botfront). which is a separate product and its not from rasa.

---

<div class="post-metadata">

**Author:** ![Sou90](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sou90](https://forum.rasa.com/u/Sou90)\
**Post date:** [June 7, 2020, 6:29pm UTC](https://forum.rasa.com/t/npm-error/29874/6 "2020-06-07T18:29:12Z")

</div>

i’m using the same documentation, it works with rasa doesnt it?

---

<div class="post-metadata">

**Author:** ![MuraliChandran14](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/muralichandran14/32/9120_2.png) [@MuraliChandran14](https://forum.rasa.com/u/MuraliChandran14)\
**Post date:** [June 8, 2020, 4:02am UTC](https://forum.rasa.com/t/npm-error/29874/7 "2020-06-08T04:02:22Z")

</div>

Yes, You will be changing socketurl in botfront to match the port where rasa running.

---

<div class="post-metadata">

**Author:** ![Sou90](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sou90](https://forum.rasa.com/u/Sou90)\
**Post date:** [June 8, 2020, 9:47am UTC](https://forum.rasa.com/t/npm-error/29874/8 "2020-06-08T09:47:10Z")

</div>

@MuraliChandran14 and how can i do it please? because i have a problebme when i type command botfront up it gives me an error : could not download docker image what is the solution please

---

<div class="post-metadata">

**Author:** ![MuraliChandran14](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/muralichandran14/32/9120_2.png) [@MuraliChandran14](https://forum.rasa.com/u/MuraliChandran14)\
**Post date:** [June 8, 2020, 9:57am UTC](https://forum.rasa.com/t/npm-error/29874/9 "2020-06-08T09:57:39Z")

</div>

Hi @Sou90,

Correct me if I am wrong here. Are you planning to enable a bot in webpage using a frontend like angularJs, reactJs, or fb like that or build frontend by yourself?.

---

<div class="post-metadata">

**Author:** ![Sou90](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sou90](https://forum.rasa.com/u/Sou90)\
**Post date:** [June 8, 2020, 10:02am UTC](https://forum.rasa.com/t/npm-error/29874/10 "2020-06-08T10:02:07Z")

</div>

@MuraliChandran14 I want to create a chatbot for a website and i have to add fb too, and i’m still beginner in this and i don’t exactly know from where to start because i want to deploy it with an interface it seems more easy and very quick

---

<div class="post-metadata">

**Author:** ![MuraliChandran14](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/muralichandran14/32/9120_2.png) [@MuraliChandran14](https://forum.rasa.com/u/MuraliChandran14)\
**Post date:** [June 8, 2020, 10:35am UTC](https://forum.rasa.com/t/npm-error/29874/11 "2020-06-08T10:35:01Z")

</div>

@Sou90,

Alright, I understand now.

Before you have started training your model.

you have to enable

`socketio:` in `credentials.ym`l and type user\_uttered, bot\_uttered if its none

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/4/4d767f560e9d53588ab268a9f5c6f933b07e6838.png)

and action\_endpoint in your `endpoint.yml` for custom actions

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/d20639cf80f5d9186c879ffbb6281f754a7305b3.png)

If you want to use `botfront` as front end go here [botfront](https://github.com/botfront/rasa-webchat) copy the script tag and create a `html` file locally in your drive and create a html like this

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/a/a919fe330d92e366e8590472516c1bb76ca921b7.png)

Then run your bot using command `rasa run -m models --enable-api --cors "*" --debug`.

This command will let your bot run on a port `http://localhost:5005`.

Go to your html file and change the socketUrl to the bot running port

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/2926cb764bd0dedba40374d5d5b399c2ee5c5619.png) .

If you are using `custom action`s simultaneously start it by calling the command `rasa run actions --debug`, In a separate cmd prompt. Click the .html and you can start talking with your bot with an interface.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/fc1f9eb7b6e2d9d953ebfd02e129d20f94f7b17e.png).

For facebook integration you can refer [here](https://rasa.com/docs/rasa/user-guide/connectors/facebook-messenger/)

---

<div class="post-metadata">

**Author:** ![Sou90](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Sou90](https://forum.rasa.com/u/Sou90)\
**Post date:** [June 9, 2020, 9:44am UTC](https://forum.rasa.com/t/npm-error/29874/12 "2020-06-09T09:44:11Z")

</div>

thanks a lot
