like-gold
like-gold•13mo ago

Apify-cli create new actor error:

Hi everyone I'm trying to use the cli to create a new javascript, crawlee + cheerio project However I get the error :
Error: EINVAL: invalid argument, mkdir 'C:\Crawlee-latest\Crawlee\my-new-actor\C:'
Error: EINVAL: invalid argument, mkdir 'C:\Crawlee-latest\Crawlee\my-new-actor\C:'
It seems that is automatically adds a "C:" at the end of my current terminal path which I believe makes it to fail ( the installation of the project is not complete as I'm missing modules(like cheerio, etc) I have only crawlee and apify in my package.json file of the project. Currently using node@20.17.0 64-bit , apify-cli@0.20.6 , apify@3.2.5 , crawlee@3.11.2 and Windows 11
3 Replies
Hall
Hall•13mo ago
Post created!
This post has been synced with the Apify community site and will be indexed by search engines
Pepa J
Pepa J•13mo ago
Hi @Teodor , Unfortunately we cannot reproduce your issue. Do you have a chance to testt on another computer? Can you try to use different Windows terminal?
like-gold
like-goldOP•12mo ago
will figure it out and post here the solution if i find it 😄 thanks tough !

Did you find this page helpful?