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

strip-ansi import error #35

Closed
Superpat opened this issue Nov 8, 2024 · 2 comments
Closed

strip-ansi import error #35

Superpat opened this issue Nov 8, 2024 · 2 comments
Milestone

Comments

@Superpat
Copy link

Superpat commented Nov 8, 2024

When I import { requireThat } from "@cowwoc/requirements"; and try to run the code, I get the following error:

Error: Cannot find package 'strip-ansi' imported from .../node_modules/.pnpm/@[email protected]/node_modules/@cowwoc/requirements/node/internal/message/diff/DiffGenerator.mjs
Did you mean to import "strip-ansi/index.js"?
@cowwoc
Copy link
Owner

cowwoc commented Nov 9, 2024

Hi Patrick, I'll take a look at this today. Out of curiosity, did older versions work fine?

@cowwoc cowwoc closed this as completed in d73319c Nov 9, 2024
@cowwoc cowwoc added this to the release-4.0.8 milestone Nov 9, 2024
@Superpat
Copy link
Author

Sorry, I was out at a conference so could not respond. But I can confirm that the new release worked for me, thank you !

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