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

Vitest vscode plugin is listening on the port which is needed by vite #502

Open
4 tasks done
fourdim opened this issue Oct 12, 2024 · 0 comments
Open
4 tasks done

Comments

@fourdim
Copy link

fourdim commented Oct 12, 2024

Describe the bug

image

Possibly related to #443.

Reproduction

  1. Download the repo.
git clone https://github.com/toeverything/blocksuite
  1. Install Vitest VSCode plugin.

  2. Install dependencies.

yarn
  1. Development mode.
yarn dev

Here Vite is not binding to the default 5173 but 5175.

image

Output

[INFO 4:53:41 PM] [v1.6.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 4:53:41 PM] [API] Running Vitest v2.1.2 (blocksuite/vitest.workspace.js) with Node.js@v20.17.0: /home/fourdim/.config/nvm/versions/node/v20.17.0/bin/node 
[INFO 4:53:42 PM] [Worker] �[33mThe CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.�[39m
[INFO 4:53:42 PM] [Worker] Forced re-optimization of dependencies
[INFO 4:53:42 PM] [Worker] Port 5173 is in use, trying another one...
[INFO 4:53:42 PM] [API] Vitest v2.1.2 (blocksuite/vitest.workspace.js) child process 78366 created
[INFO 4:53:42 PM] [VSCODE] Watching blocksuite with pattern **/*

Version

v1.6.0

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant