Closed TeaBough closed 1 year ago
I've removed
node_modules
and reupdated everything (vitest, intellij, wallaby).
Did you also delete pnpm-lock.yaml
before reinstalling the modules? This is where we think you may have a problem.
We took your exact dependencies from your diagnostics report and it works for us, but we did receive a number of warnings after installing dependencies:
WARN Issues with peer dependencies found
.
├─┬ @testing-library/react 14.0.0
│ └── ✕ missing peer react-dom@^18.0.0
├─┬ jotai-devtools 0.5.3
│ ├─┬ @mantine/core 6.0.18
│ │ ├── ✕ missing peer react-dom@>=16.8.0
│ │ ├─┬ @mantine/styles 6.0.18
│ │ │ └── ✕ missing peer react-dom@>=16.8.0
│ │ ├─┬ @radix-ui/react-scroll-area 1.0.2
│ │ │ ├── ✕ missing peer react-dom@"^16.8 || ^17.0 || ^18.0"
│ │ │ ├─┬ @radix-ui/react-presence 1.0.0
│ │ │ │ └── ✕ missing peer react-dom@"^16.8 || ^17.0 || ^18.0"
│ │ │ └─┬ @radix-ui/react-primitive 1.0.1
│ │ │ └── ✕ missing peer react-dom@"^16.8 || ^17.0 || ^18.0"
│ │ └─┬ @floating-ui/react 0.19.2
│ │ ├── ✕ missing peer react-dom@>=16.8.0
│ │ └─┬ @floating-ui/react-dom 1.3.0
│ │ └── ✕ missing peer react-dom@>=16.8.0
│ ├─┬ @mantine/prism 6.0.18
│ │ └── ✕ missing peer react-dom@>=16.8.0
│ └─┬ react-resizable-panels 0.0.42
│ └── ✕ missing peer react-dom@"^16.14.0 || ^17.0.0 || ^18.0.0"
├─┬ react-froala-wysiwyg 4.0.18
│ └── ✕ missing peer react-dom@"~0.14 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
├─┬ react-grid-layout 1.3.4
│ ├── ✕ missing peer react-dom@">= 16.3.0"
│ └─┬ react-draggable 4.4.5
│ └── ✕ missing peer react-dom@">= 16.3.0"
├─┬ react-sizeme 3.0.1
│ ├── ✕ missing peer react-dom@"^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0"
│ └── ✕ unmet peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0": found 18.2.0
├─┬ @floating-ui/react-dom 2.0.1
│ └── ✕ missing peer react-dom@>=16.8.0
├─┬ @headlessui/react 1.7.15
│ └── ✕ missing peer react-dom@"^16 || ^17 || ^18"
├─┬ @react-oauth/google 0.11.0
│ └── ✕ missing peer react-dom@>=16.8.0
├─┬ react-input-autosize 3.0.0
│ └── ✕ unmet peer react@"^16.3.0 || ^17.0.0": found 18.2.0
└─┬ vite-plugin-pwa 0.16.4
└── ✕ unmet peer workbox-window@^7.0.0: found 6.5.4
✕ Conflicting peer dependencies:
react-dom
I don't have the same error now... I'm getting
Runtime error: ReferenceError: url is not defined
Unfortunately we introduced a bug recently when added support for the latest version of vitest
where we are not correctly reporting incompatible vitest versions anymore. There's an incompatible version warning that is not being reported correctly. Please update to Wallaby core v1.0.1455
and you will get the correct error message.
Having said that, I suspect fixing the dependencies issues will fix your problem.
If you're still having problems, please provide us with your latest pnpm-lock.yaml
file. I think it will allow us to reproduce your exact dependency structure and provide more specific advice on how to fix the problem.
Thanks ! ... removing pnpm-lock.yaml
did not make it work but sadly, turning off and on my machine did 😢
Anyway, it seems to work now... thanks for the help ! 🙏
I'm getting this error :
I really don't know how I can fix that, the test is working fine when running with vite cli...