mihatorikei / codeigniter-vitejs

ViteJS Integration For Codeigniter4 🔥⚡
MIT License
89 stars 10 forks source link

`__construct expects a valid directory.` error while running command `./spark vite:init` #24

Closed baharsah closed 1 year ago

baharsah commented 1 year ago

CodeIgniter version: Package version: 4.2.10

Describe the bug __construct expects a valid directory. error while running command ./spark vite:init ([CodeIgniter\Files\Exceptions\FileException])

Expected behavior

Additional context image

scastiello commented 1 year ago

I have the same problem too. But seems that v2 is working fine: https://github.com/firtadokei/codeigniter-vitejs/tree/v2