flow-php / flow

Flow PHP - data processing framework
https://flow-php.com
MIT License
404 stars 23 forks source link

Keep getting unknown scheme "C" #1047

Closed ammarzakwan-cell closed 2 months ago

ammarzakwan-cell commented 2 months ago

source code:

` $rows = data_frame() ->read(from_csv(ROOT_PATH . '/storage/SampleCSVFile_2kb.csv')) ->fetch();

    dd($rows);`

getting csv sample from here to test https://sample-videos.com/download-sample-csv.php

after run in console im getting this error unknown scheme "C"

if i try this path

$rows = data_frame() ->read(from_csv('storage/SampleCSVFile_2kb.csv')) ->fetch();

i will get: Invalid uri: file://C:\laragon\www\etl_test\storage

norberttech commented 2 months ago

Hey! Yeah, Windows is not getting along with Flow but you can try what I suggested here. I'm working on preparing a windows development environment for myself so I might be able to came up with a more automated solution for that issue since it was already reported twice. Let me know if what I suggested worked for you!

ammarzakwan-cell commented 2 months ago

thank you @norberttech, its working, you are correct this thing related to windows path.