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

Issue when filtering? #18

Open
DiegoAndresCortes opened this issue Apr 10, 2024 · 1 comment
Open

Issue when filtering? #18

DiegoAndresCortes opened this issue Apr 10, 2024 · 1 comment

Comments

@DiegoAndresCortes
Copy link

DiegoAndresCortes commented Apr 10, 2024

I'm having this issue on windows

TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined

If I remove this line, it works fine:

.filter(p => from.indexOf(p) >= 0)

Any idea what could be causing the issue? It was working just fine.
This is the instruction I tested with: "fontawesome-css": "copy-and-watch node_modules/@fortawesome/fontawesome-free/css/all.min.css css/custom",

I also tried adding a slash at the end: "fontawesome-css": "copy-and-watch node_modules/@fortawesome/fontawesome-free/css/all.min.css css/custom/",

@DiegoAndresCortes
Copy link
Author

@zont can you test, or have any thoughts on this issue?

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