Warlord_ Warlord_ - 1 year ago 87
Node.js Question

Meteor error with './browsers' module

I started working with meteor and reaction recently, but when I try running

meteor run
I get the following error:

W20161028-00:06:04.629(-6)? (STDERR) /home/user/.meteor/packages/meteor-tool/.1.4.2.ihe772++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
W20161028-00:06:04.630(-6)? (STDERR) throw(ex);
W20161028-00:06:04.631(-6)? (STDERR) ^
W20161028-00:06:04.631(-6)? (STDERR)
W20161028-00:06:04.632(-6)? (STDERR) Error: Cannot find module './browsers'
W20161028-00:06:04.632(-6)? (STDERR) at require (packages/modules-runtime.js:109:19)
W20161028-00:06:04.633(-6)? (STDERR) at packages/modules.js:2899:14
W20161028-00:06:04.633(-6)? (STDERR) at meteorInstall.node_modules.autoprefixer.lib.autoprefixer.js (packages/modules.js:2978:4)
W20161028-00:06:04.633(-6)? (STDERR) at fileEvaluate (packages/modules-runtime.js:181:9)
W20161028-00:06:04.633(-6)? (STDERR) at Module.require (packages/modules-runtime.js:106:16)
W20161028-00:06:04.634(-6)? (STDERR) at Module.Mp.import (/home/user/.meteor/packages/modules/.
W20161028-00:06:04.634(-6)? (STDERR) at meteorInstall.server.api.core.ui.js (server/api/core/ui.js:1:1)
W20161028-00:06:04.634(-6)? (STDERR) at fileEvaluate (packages/modules-runtime.js:181:9)
W20161028-00:06:04.635(-6)? (STDERR) at Module.require (packages/modules-runtime.js:106:16)
W20161028-00:06:04.635(-6)? (STDERR) at Module.Mp.import (/home/user/.meteor/packages/modules/.
W20161028-00:06:04.635(-6)? (STDERR) at meteorInstall.server.api.core.index.js (server/api/core/index.js:1:1)
W20161028-00:06:04.635(-6)? (STDERR) at fileEvaluate (packages/modules-runtime.js:181:9)
W20161028-00:06:04.635(-6)? (STDERR) at Module.require (packages/modules-runtime.js:106:16)
W20161028-00:06:04.636(-6)? (STDERR) at Module.Mp.import (/home/user/.meteor/packages/modules/.
W20161028-00:06:04.636(-6)? (STDERR) at meteorInstall.server.api.index.js (server/api/index.js:1:1)
W20161028-00:06:04.636(-6)? (STDERR) at fileEvaluate (packages/modules-runtime.js:181:9)

I'm working on a linux machine using Ubuntu Mate 16.04 x86

I even tried running
npm install --save fibers
thinking it might be something with that package but still doesn't work.

Any help will be much appreciated.


Answer Source

It looks like the error comes from the latest version of meteor. I went a little further ahead and asked on the Reaction forum and was able to get it solved:

Happened on osx as well as debian, after update to meteor 1.4.2

Looks that you have to downgrade the meteor version:

meteor update --release METEOR@1.4.1
reaction reset

Answer 'Yes' on the delete node_modules.

Package version are identical for both versions.

This is the link to the post on the reaction site.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download