Windows error - dep() is not a function


I am using meteor on Windows for a project. It worked well but one day, for no reason, it stopped working.

I cannot launch any project, and I cannot create a new project neither.

Here is the error I get when I try to create/start a project:

const dependOnPath = dep();

TypeError: dep is not a function

I tried lot of things and tried to reinstall meteor but nothing worked.

Thank you for your help!

Hi @bghinc

I ran into the same issue when I accidentally ran the meteor command within my c:\users\username

I just went to the directory and deleted all of the newly generated files ( I’m guessing it was the package.json file that caused the issue )