vue-mess-detector: `index.test.ts` failing when using `yarn analyze` command

Describe the bug Index.test.ts tests failed whe running yarn test

To Reproduce I think its an issue partly with yarn on my machine…

  1. What is the exact code you are analyzing? index.test.ts

  2. What is the output you are getting? When I run yarn test ⬇️ image Each rule that failed, opens a VScode tab with the file image

Expected behavior All tests should pass

Used version number of vue-mess-detector: 0.25.0 (latest release)

Node & Yarn versions: node v20.15.0 yarn v1.22.21

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Then its done 🤝

The others should stay as those who do not involved in the development will use the npx commands

David, if I am not wrong you added your workaround to the contributors guide.

Can you update that?

It works on Linux also.

Thank you for testing it on your windows machine.

I can close the issue 👿

It was a part of that. I will push the solution please test it

ERR_UNSUPPORTED_ESM_URL_SCHEME only urls with sheme in file, data and node are supported

I managed to reproduce this on a windows machine

Thanks @bchanez , I just pushed a commit for it

@David-Pena You can find it here .github/ISSUE_TEMPLATE/bug_report.md

I added consola recently. Did you executed yarn install?

Yes

The test passes on my laptop and on ci. I suspect it is a windows thing.

Probably 😦

I will spin up a windows wm and try to reproduce

Thanks, for now I’ll just change the command when making changes, but I’ll restore it before creating a PR