Meteor error 'TypeError: _extends is not a function'


#1

Whenever I try to run a meteor command, I get this error:

versions: _extends({}, process.versions)
            ^
TypeError: _extends is not a function
    at Object.<anonymous> (C:\tools\isobuild\meteor-npm.js:223:3)
    at Module._compile (module.js:612:30)
    at Object.Module._extensions..js (module.js:623:10)
    at Module.load (module.js:531:32)
    at Module.Mp.load (C:\tools\tool-env\install-runtime.js:16:29)
    at tryModuleLoad (module.js:494:12)
    at Function.Module._load (module.js:486:3)
    at Module.require (module.js:556:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\tools\isobuild\package-source.js:8:17)

I am new to programing, so please make a solution easily readable.
I am running windows 10.


[ Resoved ] _extends is not a function
#2

Hi, I ran in to the same problem when installing meteor 1.6. The issue is discussed here: https://github.com/meteor/meteor/issues/9278

What I did to make it work was to remove all the babel packages form my global npm folder. c:/user/username/node_module/babel-something