kckaiwei / TurnMarker-alt

Turn Marker is a module for Foundry VTT that adds an image under a token who is currently active in the combat tracker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest version has missing turnmarker.css

SilentDirge opened this issue · comments

For Version 2.9.0, instead of a turnmarker.css there is a turnmarker.less in the css directory. This results in an error and the module not loading.

I renamed turnmarker.less to turnmarker.css and that fixed it. Everything seemed to work fine in FVTT V10 but can't confirm there are zero issues. I would create a pull request but I don't think this repo is being maintained so this is more of an FYI for anyone running into this problem.

Sounds like a nice finding... However, I ran a quick check, but it doesn't seem to work for me. Still no turn marker showing up, but tons of console errors instead.

I came accross the same issuse as repoirted by @SilentDirge, I also found renaming the file to .css allowed the module to load in the world - A quick test shows its working

I should say i still get the error in the console on loading foundry
image

Probably don't want to just rename the less, you want to compile it to css. You'll need to have installed the less compiler, most likely via npm install -g less, then you'll go to the css directory and run lessc turnmarker.less turnmarker.css

Probably don't want to just rename the less, you want to compile it to css. You'll need to have installed the less compiler, most likely via npm install -g less, then you'll go to the css directory and run lessc turnmarker.less turnmarker.css

This is true in general for less files... however, in this specific case the content of the file is exactly the same as the compiled output. It only contains a single CSS rule that requires no actual compilation.

i put a pr in lets see how it goes

For any late v10 upgraders who come across this issue, here are two alternative modules that provide similar functionality: