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

Module not found: Can't resolve './fonts/slick.svg#slick' ! Please! #2395

Open
Thien555 opened this issue Sep 5, 2024 · 1 comment
Open

Comments

@Thien555
Copy link

Thien555 commented Sep 5, 2024

Module not found: Can't resolve './fonts/slick.svg#slick'
15 | src: url('./fonts/slick.eot');
16 | src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');

17 | }
| ^
18 | /* Arrows */
19 | .slick-prev,
20 | .slick-next

@Thien555 Thien555 changed the title Module not found: Can't resolve './fonts/slick.svg#slick' ! Module not found: Can't resolve './fonts/slick.svg#slick' ! Please! Sep 5, 2024
@JohnChan1996
Copy link

JohnChan1996 commented Oct 28, 2024

I had the same problem ,same error message

I use it in nextjs 14

page.tsx
"use client";
import Slider from "react-slick";
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";

I tried to use 'next dev' instead of 'next dev --turbo'. It works for me, and you should try it.

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

2 participants