Help

Re: a.isDirectory is not a function -> How to fix it

Solved
Jump to Solution
1051 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Fabien_Vermot
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello,
I’m trying to init a custom block for my database but i get this following error whenever I launch the command line block init from any github repo.

Initializing block using https://github.com/xavdid/airtable-grouped-chart template
❌ Something failed! Cleaning up...
❌ Error: a.isDirectory is not a function

Do you have any idea how i can fix it please ?

Thanks in advance for your help
BR

1 Solution

Accepted Solutions
Taylor_Savage
7 - App Architect
7 - App Architect

I would try updating your node version - current long-term stable version is v14.

See Solution in Thread

4 Replies 4
Taylor_Savage
7 - App Architect
7 - App Architect

Hey there - a couple questions for you:

What version of the blocks CLI are you running? block --version
What version of node are you running? node --version

Fabien_Vermot
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi Taylor_Savage!!

Thx for your reply.
Here are the version :

  • Block version : 0.0.62
  • Node version : v8.5.0

Thanks for your help

Taylor_Savage
7 - App Architect
7 - App Architect

I would try updating your node version - current long-term stable version is v14.

Fabien_Vermot
5 - Automation Enthusiast
5 - Automation Enthusiast

Well done !! Thanks a lot @Taylor_Savage for your help.
Updating my node version fixed it