Closed davycoe closed 2 years ago
Thanks for reporting this! The error was caused by a missing "files" field in package.json and is now fixed in @capri-js/solid@4.0.2
.
As for vite.config.ts.js
: This file somehow gets created when there is an error while processing the Vite config. I have no idea why. Make sure to delete it, once you updated the capri package.
Super fast, thanks! ⚡⚡⚡
Bug:
First issue seems to expect
vite.config.js
asvite.config.ts.js
is generated.Then the node_modules path seems incorrect as it's targeting lib but contains
/home/user/code/broken/node_modules/@capri-js/solid/src
?I assume there has been a missing compile step as
/home/user/code/broken/node_modules/@capri-js/solid/src
contains typescript and or incorrect paths? as I can see/home/user/code/broken/node_modules/capri
contains a lib folder containing both typescript and JavaScript.