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 )

It is being a nightmare to install the latest Meteor version on Win10.
I´m also having the same problems and I don´t know what to do…

I installed it correctly but when I type on CMD “meteor” or “meteor help” I get the next error message:

const dependOnPath = dep();

  •                 ^*

TypeError: dep is not a function
(Use node --trace-uncaught ... to show where the exception was thrown)

Do you know guys how to fix this? Thanks in advance!