Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

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

Topic Labels: Custom Extensions
Solved
Jump to Solution
1271 4
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

See Solution in Thread

4 Replies 4

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

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

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

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