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

next dev mode not working with next 12.0.3, antd 4.16.13 #17

Closed
lgenzelis opened this issue Nov 12, 2021 · 4 comments
Closed

next dev mode not working with next 12.0.3, antd 4.16.13 #17

lgenzelis opened this issue Nov 12, 2021 · 4 comments

Comments

@lgenzelis
Copy link
Contributor

lgenzelis commented Nov 12, 2021

Hi! I'm using the latest versions of next (12.0.3), antd (4.16.13) and next-with-less (2.0.2). Things were working fine until next 12.0.2. However, something broke with 12.0.3. Production mode (next build && next start) works fine, but dev mode (next) doesn't. This is the error I'm getting:

error - ./node_modules/antd/dist/antd.less:4:0
Module not found: Can't resolve '../lib/image/style/data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4='

I'm reporting this here because, since next doesn't support less, I don't think they're gonna regard this as their issue 😓

@chemicalkosek
Copy link

It's a bug within Next.js. Should be fixed in 12.0.4. You can wait for that, or stick to 12.0.2 for now. Or try next@canary as it should be fixed there.

@lgenzelis
Copy link
Contributor Author

Awesome, thanks for that quick reply @chemicalkosek . I'll leave this open until next 12.0.4 is released and I can confirm that it indeed solves this problem.

@chemicalkosek
Copy link

vercel/next.js#30895

@iicdii
Copy link

iicdii commented Nov 28, 2021

We can safely close it now since the bug has been fixed in next 12.0.4.

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

3 participants