TypeError: module.export is not a function

Firstly installed Node 6.10.3 Then installed Meteor 1.4

I am trying to install Meteor in Windows 8.1, after installation it suggests to restart the computer. Did.

But now I’m getting an error saying

1 Like

what are you running? a sample project? can you show your code?

Trying to run follow steps shown in lynda.com

Install Nodejs first, then Meteor and then check meteor version by

meteor --version

That’s when I get that error

What should I do to get it running?
Works perfect for Mac…

You don’t install node yourself - Meteor installs the correct version of node for you. Node 6 is known to cause problems with Meteor.

2 Likes

So I will do the following steps:

  1. Remove Meteor
  2. Remove Node 6, npm 4.4.4
  3. Restart the machine
  4. Install Meteor from https://www.meteor.com/
    (I should not install node on my own)

The above steps should work perfect.
Please correct me if I am wrong.

FYI-
It was running on the machine for the first time when I did.
But it was really very very slow so I updated the Node and that caused the problem.

Had the same issue. Worked for me.