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

You may need an appropriate loader to handle this file type #62

Closed
aaadotpm opened this issue Sep 3, 2021 · 1 comment
Closed

You may need an appropriate loader to handle this file type #62

aaadotpm opened this issue Sep 3, 2021 · 1 comment

Comments

@aaadotpm
Copy link

aaadotpm commented Sep 3, 2021

I'm getting an error when trying to import this into a Sanity project. I'm not sure whether there's something wrong with my config or whether theres something incompatible in the code.

I tried reinstalling v2.1.0, v2.0.0, `v1.1.0 but with the same results. Ended up using another package for now, but could help investigate. Have you had any other reports of something similar?

On node v14.17.6

Error in ./node_modules/@sindresorhus/slugify/index.js
Module parse failed: Unexpected token (35:2)
You may need an appropriate loader to handle this file type.
| 		preserveLeadingUnderscore: false,
| 		preserveTrailingDash: false,
| 		...options
| 	};
@sindresorhus
Copy link
Owner

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