Aedif / TokenVariants

GNU General Public License v3.0
17 stars 12 forks source link

Error= Can't wrap 'Token.prototype._refreshIcon', target does not exist or could not be found. #81

Closed Ringelrun closed 1 year ago

Ringelrun commented 1 year ago

This error happens on my local install of version 9, but not on my server hosted version 10.

Here is full error from Console:

image

Aedif commented 1 year ago

What game system are you running the module in?

also if you select a token and run the following in the console, what sort of output do you get?: _token._refreshIcon _token.refresh

This is what I'd expect to see: image

Ringelrun commented 1 year ago

Thanks for getting back with me so quickly!

I'm running Windows 10

[image: image.png]

When I run the lines in console, this is what I get:

[image: image.png]

On Tue, Sep 6, 2022 at 5:41 PM M. Vaitkus @.***> wrote:

What game system are you running the module in?

also if you select a token and run the following in the console, what sort of output do you get?: _token._refreshIcon _token.refresh

This is what I'd expect to see: [image: image] https://user-images.githubusercontent.com/7693704/188763993-b9217fb8-ccda-4ad5-8a9d-96ce248b4570.png

— Reply to this email directly, view it on GitHub https://github.com/Aedif/TokenVariants/issues/81#issuecomment-1238783348, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26B6FGJLZUF3PXB5OW6YOLV47QDJANCNFSM6AAAAAAQGJI3HQ . You are receiving this because you authored the thread.Message ID: @.***>

Aedif commented 1 year ago

I can't see the images you tried to link to me. They appear as [image: image.png]

If you could could type out or otherwise provide the Foundry version you're using and the game system you're running that would be really helpful.

I've tested the module on DnD5e on both v9 and v10 and they both appear to work.

Ringelrun commented 1 year ago

Sorry, here are the images:

image

image

Aedif commented 1 year ago

Try updating to version 3.6.2 of the TVA module. This should hopefully be fixed.

Ringelrun commented 1 year ago

Thanks. When I tried just now by using the update modules screen, it's blocked from updating. The message pop up said it's for version 10, and since I'm still on 9 it's keeping it from taking the update.

image

Is there a specific manifest file/location for the 3.6.2 version?

Aedif commented 1 year ago

Oh that's odd, try uninstalling the module. You should be presented with version 3.6.2 when re-installing. All the module settings will be preserved so it should be the same as doing an update.