solidjs / templates

Vite + solid templates
447 stars 117 forks source link

fix-jest-dom throwing error #60

Closed mathieuprog closed 2 years ago

mathieuprog commented 2 years ago

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-libraryjest-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-libraryjest-dom\index.d.ts' npm ERR! }

mathieuprog commented 2 years ago

Apparently we can't make Solid libs with Vite