Error: EISDIR: illegal operation on a directory, read at Error (native)


#1

I am getting a very strange but very common error while creating an Ionic2 project.

When I enter this particular command to create a project

$ ionic start MyProject tutorial

Then, I am getting this error

√ Creating directory .\MyProject - done!
× Downloading and extracting tutorial starter - failed!
  Error: EISDIR: illegal operation on a directory, read
  at Error (native)

I tried many things to resolve this issue, but couldn’t find a suitable solution. Please help me to resolve this. Thanks.


#2

What is your ionic info output?
Can you run the command with --verbose for more output?