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

Unable to resolve path to module - Nextjs #296

Open
5 tasks done
iamshour opened this issue Jul 17, 2023 · 0 comments
Open
5 tasks done

Unable to resolve path to module - Nextjs #296

iamshour opened this issue Jul 17, 2023 · 0 comments

Comments

@iamshour
Copy link

Describe the bug

I followed all the steps to make this Icons library work within my setup (Nextjs application), however I'm getting an Eslint error that says:
Unable to resolve path to module '~icons/dashicons/arrow-right.jsx'.eslint[import/no-unresolved](https://github.com/import-js/eslint-plugin-import/blob/v2.27.5/docs/rules/no-unresolved.md) module "~icons/*"

Reproduction

Error with Nextjs 13

System Info

Ubuntu 22.0

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
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

1 participant