I experienced a similar problem as described: empty wiggle files. I used the call:
STAR --genomeDir ../reference/bos_taurus/sequence/star_index \
--readFilesCommand zcat \
--runThreadN 8 \
--sjdbGTFfile ../reference/bos_taurus/annotation/Bos_taurus.UMD3.1.78.gtf \
--readFilesIn test_trim/paired_1.fastq.gz test_trim/paired_2.fastq.gz \
--outFileNamePrefix test_map/ \
--outFilterMultimapNmax 20 \
--genomeLoad LoadAndRemove \
--outSAMtype BAM SortedByCoordinate \
--limitBAMsortRAM 15000000000 \
--outWigType wiggle \
--outWigStrand Unstranded \
--outWigReferencesPrefix chr
However, when I removed the last argument from the call ("outWigReferencePrefix chr"), the wiggle file turned up fine. Modifying the wiggle file from "X" to chr"X" shouldn't be a big problem afterwards, just as a quick fix.
Cheers, Tom