Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-whitespace before first tag #283

Open
saunafox opened this issue Jun 14, 2023 · 7 comments
Open

Non-whitespace before first tag #283

saunafox opened this issue Jun 14, 2023 · 7 comments

Comments

@saunafox
Copy link

Hello everyone, maybe someone has encountered such a problem
I use the latest version along with Nuxt 3 and when building, I constantly get the error "Non-whitespace before first tag"

@SkiperX
Copy link

SkiperX commented Jul 29, 2023

I also ran into a problem

@messigoalzzz
Copy link

怎么解决,我现在也出现了这个问题

@ghost
Copy link

ghost commented Oct 16, 2023

I have the same problem

@KyleBrown-804
Copy link

I am encountering the same problem stack trace looks like this:
Screenshot 2023-10-30 at 5 06 49 PM

@luigigorlero
Copy link

I’ve also run into this, I was particularly confused since I’m the only one among my colleagues experiencing this issue. I’m also the only one using an Apple Silicon Mac (and macOS 13+), don’t know if that’s relevant. I tried with different Node versions but no luck. The module works fine on my older 2015 Mac.

It seems to have problems generating the unified sprite. Copying the sprite from a working environment doesn’t solve the issue.

@Aira-Sakuranomiya
Copy link

Aira-Sakuranomiya commented Nov 29, 2023

Same problem here. Running on M2 Pro with macOS Sonoma and Node 20.10.10.

@gianpesto
Copy link

i am having the same problem, apparently this happens on macOS when a .DS_Store file happens to pop up in the svg directory. as it seems since Mojave you won't get .DS_Store to show even if you press "cmd + shift + ."

The module should filter out all non-svgs when parsing them.

Hotfix: sudo find ./ -name ".DS_Store" -depth -exec rm {} \; from within the svg folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants