# Problem installing plugin

**URL:** https://community.aseprite.org/t/problem-installing-plugin/15842
**Category:** Help
**Created:** [September 26, 2022, 6:28pm UTC](https://community.aseprite.org/t/problem-installing-plugin/15842 "2022-09-26T18:28:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SynthED](https://community.aseprite.org/user_avatar/community.aseprite.org/synthed/32/45_2.png) [@SynthED](https://community.aseprite.org/u/SynthED)
#### Post date: [September 26, 2022, 6:28pm UTC](https://community.aseprite.org/t/problem-installing-plugin/15842/1 "2022-09-26T18:28:26Z")

</div>

Hello, I am getting two errors when I try to install my plugin.

Mistake 1.  
I try to install the plugin by running the .aseprite-extension file

 ![Captura3](https://community.aseprite.org/uploads/default/original/2X/b/ba54322e5b39d40f4c85ae743b1e5bd6b76bcc0e.png)

Mistake 2.  
I try to add the plugin from “Edit → preferences → extensions → add extensions”:

 ![Captura3](https://community.aseprite.org/uploads/default/original/2X/4/47b6a2c71e1f97101d37c09d5c5e53b82cb5ed5d.png)

Plugin installed but crash occurs.  
Plugin with inconsistent behavior.

How should I fix this?

Plugin:

> **[8BPExporter.aseprite-extension](https://drive.google.com/file/d/1xWe3ItVw2XtKppcbD3oCWOvnbBAOuiZ2/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![thkwznk](https://community.aseprite.org/user_avatar/community.aseprite.org/thkwznk/32/14485_2.png) [@thkwznk](https://community.aseprite.org/u/thkwznk)
#### Post date: [September 27, 2022, 2:03pm UTC](https://community.aseprite.org/t/problem-installing-plugin/15842/2 "2022-09-27T14:03:21Z")

</div>

I was able to install the extension you linked in both 1.2.40 and 1.3-beta21.

However, I took a look at your Lua script and it doesn’t seem to be prepared as an extension. It looks like it would be more suitable to [register a new command](https://github.com/aseprite/api/blob/main/api/plugin.md#pluginnewcommand) that would run this code when clicked on a menu option.

---

<div class="post-metadata">

### Author: ![SynthED](https://community.aseprite.org/user_avatar/community.aseprite.org/synthed/32/45_2.png) [@SynthED](https://community.aseprite.org/u/SynthED)
#### Post date: [September 27, 2022, 7:20pm UTC](https://community.aseprite.org/t/problem-installing-plugin/15842/3 "2022-09-27T19:20:57Z")

</div>

But the script is run by clicking “File → Scripts → 8BPExporter” then you get the txt file.

Ok, regarding the aforementioned errors, I think it is because of the following:  
I use aseprite portable and I think you use aseprite installed.  
I think the scripts are only installed if the user has aseprite installed.

The scripts will not be installed in the portable version of aseprite.
