fix-jest-dom throwing error
mathieuprog opened this issue · 1 comments
I created a new npm repo solid-compose
based on the ts-vitest
template.
My app, which is also based on the ts-vitest
template depends on solid-compose
, but when trying to install the dependency, fix-jest-dom
is throwing an error.
C:\data\projects\my-app>npm install solid-compose
npm ERR! code 1
npm ERR! path C:\data\projects\my-app\node_modules\solid-compose
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c C:\Users\Default\AppData\Local\Temp\postinstall-498392fc.cmd
npm ERR! file:///C:/data/projects/my-app/node_modules/solid-compose/fix-jest-dom.mjs:8
npm ERR! if (err) throw err;
npm ERR! ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, open 'C:\data\projects\my-app\node_modules\solid-compose\node_modules@types\testing-library__jest-dom\index.d.ts'] {
npm ERR! errno: -4058,
npm ERR! code: 'ENOENT',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\data\projects\my-app\node_modules\solid-compose\node_modules\@types\testing-library__jest-dom\index.d.ts'
npm ERR! }
Apparently we can't make Solid libs with Vite