You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded to vitest 0.30.1 and started getting this error. It says to file an issue against the repo, is this correct?
Module E:/ComfyBox/node_modules/.pnpm/[email protected]/node_modules/loupe/index.js:7 seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "loupe" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.
As a temporary workaround you can try to inline the package by updating your config:
// vitest.config.js
export default {
test: {
deps: {
inline: [
"loupe"
]
}
}
}
The text was updated successfully, but these errors were encountered:
I upgraded to vitest
0.30.1
and started getting this error. It says to file an issue against the repo, is this correct?The text was updated successfully, but these errors were encountered: