Comments (4)
This is a problem with your config file somehow
from vscode.
Interesting. I'll try and reduce the project down to something I can share. In the mean time this is the (simplified) repo structure:
.
├── package.json
├── package-lock.json
├── packages
│ ├── backend
│ │ ├── bin
│ │ │ └── index.ts
│ │ ├── functions
│ │ │ ├── function-1
│ │ │ │ ├── handler.test.ts
│ │ │ │ └── handler.ts
│ │ │ ├── function-2
│ │ │ │ ├── handler.test.ts
│ │ │ │ └── handler.ts
│ │ │ └── function-3
│ │ │ ├── handler.test.ts
│ │ │ └── handler.ts
│ │ ├── lib
│ │ │ ├── stack.test.ts
│ │ │ ├── stack.ts
│ │ ├── package.json
│ │ ├── tsconfig.json
│ │ └── vitest.config.ts
│ └── frontend
│ ├── index.html
│ ├── package.json
│ ├── src
│ │ ├── App.test.tsx
│ │ ├── App.tsx
│ │ ├── index.tsx
│ │ ├── setupTests.ts
│ │ └── vite-env.d.ts
│ ├── tsconfig.json
│ └── vite.config.ts
├── tsconfig.json
├── vitest.config.ts
└── vitest.workspace.ts
Vitest 1.6.0 is installed as a devDependency in each of the three package.json.
from vscode.
It shouldn't load vitest.workspace.d.ts
file - why do you have it? And where? I don't see it in your example. You can add it to vitest.configSearchPatternExclude
in the vscode settings
from vscode.
You've solved it! tsc had transpiled vitest.workspace.ts into my outDir dist.
from vscode.
Related Issues (20)
- Always displaying vitest error on startup HOT 2
- Crash at startup on Windows when using Yarn PnP
- vitest plugin keeps a file lock on rollup and esbuild which halts package upgrades at times HOT 7
- Can´t modify directory tree HOT 1
- Vitest fails to start if a compiled config is available
- No test output when debugging HOT 7
- Vitest failes to start in vscode >=1.90 when using Yarn PnP HOT 6
- Open VSX Registry (VSCodium) forcing outdated version (1.0.0-beta.X) HOT 7
- Vitest failed to start error on .d.ts files with v0.12.4
- Vitest process exited with exit code null HOT 2
- Color indicator of failing tests in Explorer and Tab Bar
- Debugger grinds to a halt with large unrelated files present HOT 1
- Debugging test regression after 0.10.7 HOT 3
- Error: Cannot find module @rollup/rollup-darwin-x64 on MAC with M3 processor HOT 7
- Plugin keeps iterating across port numbers HOT 1
- Errors during tests don't get reported correctly
- Vitest plugin fails to run tests in a monorepo with app-specific config HOT 2
- Crashes with "Cannot find module"
- `Run all Tests` doesn't create any ui/visual elements anymore
- Add "Turn on continous run" option to the right click menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode.