kandashi / Active-Token-Lighting

MIT License
24 stars 24 forks source link

[v10] installations fails, missing styles folder #114

Closed vt-tom closed 1 year ago

vt-tom commented 2 years ago

Describe the bug The reinstallation under v10 fails because the styles folder and the files in it are missing.

To Reproduce Steps to reproduce the behavior:

  1. open a v10 installation
  2. go to modules
  3. open the console
  4. install ATL

Screenshots grafik

Environment:

darkmogool commented 2 years ago

The same error occurs on my Computer (Windows 10) with the latest Foundry VTT standalone application (version 10 build 284).

Same procedure, same module version

kenkrista commented 2 years ago

Workaround to install the module

For the less tech-savvy people (like myself)...

After the install fails, you'll find a partial installation consisting of the following directories and files in foundrydata/Data/modules/:

If you manually create the ATL/styles/ directory; ATL/styles/ATL.css file; and copy and paste the CSS file contents from the repository into the local ATL.css file you created, the module will appear as installed and you can lock it to prevent updates. I can't speak to whether or not there are any issues with the module itself once its running in v10, but it seems to work fine for me so far.

BathToast commented 2 years ago

If you manually create the ATL/styles/ directory; ATL/styles/ATL.css file; and copy and paste the CSS file contents from the repository into the local ATL.css file you created, the module will appear as installed and you can lock it to prevent updates. I can't speak to whether or not there are any issues with the module itself once its running in v10, but it seems to work fine for me so far.

When i attempt this it still throws the error and just deletes the file and the directory. Any thoughts?

NateThompson114 commented 2 years ago

If you manually create the ATL/styles/ directory; ATL/styles/ATL.css file; and copy and paste the CSS file contents from the repository into the local ATL.css file you created, the module will appear as installed and you can lock it to prevent updates. I can't speak to whether or not there are any issues with the module itself once its running in v10, but it seems to work fine for me so far.

When i attempt this it still throws the error and just deletes the file and the directory. Any thoughts?

It's not a fix to install...

  1. Install the module (This will seem to fail, but in your folder for modules, you should see a folder called ATL [...AppData\Local\FoundryVTT\Data\modules])
  2. Create a folder called styles
  3. Download this CSS file https://raw.githubusercontent.com/kandashi/Active-Token-Lighting/main/styles/ATL.css into your styles folder that you just created
  4. Restart Foundry
  5. Go to your Add-on Modules
  6. Click the Lock icon on the right side of Active Token Effects (this will stop you from accidentally blowing away what you just did)
  7. Check back here often until a v10 release is done,
  8. Once(if) a v10 update is completed unlock and update
CaosFR commented 2 years ago

@NateThompson114 Thanks for the tips until @kandashi update's (happy dev).

Gacky2k commented 2 years ago

@NateThompson114 THANK YOU SIR! This worked perfectly!

zabu61 commented 1 year ago

@NateThompson114 Confirmed that this also works to eliminate the error in 10 build 288 Thanks so much!

sharkbruhaha commented 1 year ago

thanks a ton @NateThompson114 !

kaelad02 commented 1 year ago

fixed in #113 and available in v0.5.0