mihatorikei / codeigniter-vitejs

ViteJS Integration For Codeigniter4 🔥⚡
MIT License
93 stars 11 forks source link

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

Closed baharsah closed 2 years ago

baharsah commented 2 years 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 2 years ago

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