Reaction error with browsers module


#1

Hello,

I started using reaction just recently, I was following the installation steps, but when I ran the reaction command I get the following error:

W20161028-00:06:04.629(-6)? (STDERR) /home/usr/.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/.0.7.7.1gylz5r++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
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/.0.7.7.1gylz5r++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
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/.0.7.7.1gylz5r++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
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 tried doing a reaction reset but didn’t worked either.

I am using a Linux environment (Ubuntu Mate 16.04) x86.

Your help is very much appreciated.

Thanks!


#2

Could you post your “package.json” file?


#3

Same here. Happened on osx as well as debian, after update to meteor 1.4.2
After downgrading to 1.4.1 it worked again.

meteor update --release METEOR@1.4.1
reaction reset

Answer yes when asked to delete the node_modules.

both package.json are identical for both meteor version:

{
“name”: “reaction”,
“description”: “Reaction is a modern reactive, real-time event driven ecommerce platform.”,
“version”: “0.17.0”,
“main”: “main.js”,
“directories”: {
“test”: “tests”
},
“homepage”: “https://github.com/reactioncommerce/reaction”,
“url”: “https://github.com/reactioncommerce/reaction”,
“email”: "reaction@reactioncommerce.com",
“repository”: {
“type”: “git”,
“url”: “https://github.com/reactioncommerce/reaction.git
},
“author”: “Reaction Commerce hello@reactioncommerce.com”,
“license”: “GPL-3.0”,
“bugs”: {
“url”: “https://github.com/reactioncommerce/reaction/issues
},
“dependencies”: {
"@reactioncommerce/authorize-net": “^1.0.7”,
“accounting-js”: “^1.1.1”,
“autonumeric”: “^1.9.46”,
“autosize”: “^3.0.17”,
“avalara-taxrates”: “^1.0.1”,
“bcrypt”: “^0.8.7”,
“bootstrap”: “^3.3.7”,
“braintree”: “^1.41.0”,
“bunyan”: “^1.8.1”,
“bunyan-format”: “^0.2.1”,
“classnames”: “^2.2.5”,
“country-data”: “^0.0.29”,
“css-annotation”: “^0.6.2”,
“deep-diff”: “^0.3.4”,
“dnd-core”: “^2.0.2”,
“faker”: “^3.1.0”,
“fibers”: “^1.0.14”,
“font-awesome”: “^4.6.3”,
“griddle-react”: “^0.6.1”,
“i18next”: “^3.4.3”,
“i18next-browser-languagedetector”: “^1.0.0”,
“i18next-localstorage-cache”: “^0.3.0”,
“i18next-sprintf-postprocessor”: “^0.2.2”,
“jquery”: “^3.1.1”,
“jquery-i18next”: “^1.1.0”,
“later”: “^1.2.0”,
“lodash”: “^4.16.3”,
“meteor-node-stubs”: “^0.2.3”,
“moment”: “^2.15.1”,
“moment-timezone”: “^0.5.5”,
“money”: “^0.2.0”,
“node-geocoder”: “^3.15.0”,
“nodemailer”: “^2.6.4”,
“nodemailer-wellknown”: “^0.2.0”,
“paypal-rest-sdk”: “^1.6.9”,
“postcss”: “^5.2.4”,
“postcss-js”: “^0.1.3”,
“react”: “^15.3.2”,
“react-addons-create-fragment”: “^15.3.2”,
“react-addons-pure-render-mixin”: “^15.3.2”,
“react-autosuggest”: “^6.0.4”,
“react-bootstrap”: “^0.30.5”,
“react-color”: “^2.3.2”,
“react-dnd”: “^2.1.4”,
“react-dnd-html5-backend”: “^2.1.2”,
“react-dom”: “^15.3.2”,
“react-dropzone”: “^3.6.0”,
“react-helmet”: “^3.1.0”,
“react-komposer”: “^1.13.1”,
“react-onclickoutside”: “^5.7.1”,
“react-simple-di”: “^1.2.0”,
“react-taco-table”: “^0.4.1”,
“react-tether”: “^0.5.2”,
“react-textarea-autosize”: “^4.0.5”,
“sortablejs”: “^1.4.2”,
“stripe”: “^4.11.0”,
“sweetalert2”: “^4.3.3”,
“swiper”: “^3.3.1”,
“tether-drop”: “^1.4.2”,
“tether-tooltip”: “^1.2.0”,
“transliteration”: “^1.1.9”,
“url”: “^0.11.0”
},
“devDependencies”: {
“autoprefixer”: “^6.5.0”,
“babel-eslint”: “^7.0.0”,
“babel-plugin-lodash”: “^3.2.9”,
“babel-preset-stage-2”: “^6.17.0”,
“browserstack-local”: “^1.0.0”,
“chai”: “^3.5.0”,
“eslint”: “^3.7.1”,
“eslint-plugin-react”: “^6.3.0”,
“js-yaml”: “^3.6.1”,
“react-addons-test-utils”: “^15.3.2”,
“wdio-allure-reporter”: “^0.1.1”,
“wdio-mocha-framework”: “^0.4.3”,
“webdriverio”: “^4.2.16”
},
“postcss”: {
“plugins”: {
“autoprefixer”: {
“browsers”: [
“last 2 versions”
]
}
}
},
“scripts”: {
“create-report”: “allure generate allure-results/ -o ~/allure-report”,
“open-report”: “cd && allure report open”,
“del-report”: “rm -rf ~/allure-report && rm -rf allure-results”,
“test-local”: “wdio tests/runner/local.conf.js”,
“test-browserstack”: “wdio tests/runner/browserstack.conf.js; kill $(ps aux | grep ‘[b]rowserstack’ | awk ‘{print $2}’)”
}
}

Best regards
Micha


#4

Hello Derek,

Here it is:

{
  "name": "reaction",
  "description": "Reaction is a modern reactive, real-time event driven ecommerce platform.",
  "version": "0.17.0",
  "main": "main.js",
  "directories": {
    "test": "tests"
  },
  "homepage": "https://github.com/reactioncommerce/reaction",
  "url": "https://github.com/reactioncommerce/reaction",
  "email": "reaction@reactioncommerce.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/reactioncommerce/reaction.git"
  },
  "author": "Reaction Commerce <hello@reactioncommerce.com>",
  "license": "GPL-3.0",
  "bugs": {
    "url": "https://github.com/reactioncommerce/reaction/issues"
  },
  "dependencies": {
    "@reactioncommerce/authorize-net": "^1.0.7",
    "accounting-js": "^1.1.1",
    "autonumeric": "^1.9.46",
    "autosize": "^3.0.17",
    "avalara-taxrates": "^1.0.1",
    "bcrypt": "^0.8.7",
    "bootstrap": "^3.3.7",
    "braintree": "^1.41.0",
    "bunyan": "^1.8.1",
    "bunyan-format": "^0.2.1",
    "classnames": "^2.2.5",
    "country-data": "^0.0.29",
    "css-annotation": "^0.6.2",
    "deep-diff": "^0.3.4",
    "dnd-core": "^2.0.2",
    "faker": "^3.1.0",
    "fibers": "^1.0.15",
    "font-awesome": "^4.6.3",
    "griddle-react": "^0.6.1",
    "i18next": "^3.4.3",
    "i18next-browser-languagedetector": "^1.0.0",
    "i18next-localstorage-cache": "^0.3.0",
    "i18next-sprintf-postprocessor": "^0.2.2",
    "jquery": "^3.1.1",
    "jquery-i18next": "^1.1.0",
    "later": "^1.2.0",
    "lodash": "^4.16.3",
    "meteor-node-stubs": "^0.2.3",
    "moment": "^2.15.1",
    "moment-timezone": "^0.5.5",
    "money": "^0.2.0",
    "node-geocoder": "^3.15.0",
    "nodemailer": "^2.6.4",
    "nodemailer-wellknown": "^0.2.0",
    "paypal-rest-sdk": "^1.6.9",
    "postcss": "^5.2.4",
    "postcss-js": "^0.1.3",
    "react": "^15.3.2",
    "react-addons-create-fragment": "^15.3.2",
    "react-addons-pure-render-mixin": "^15.3.2",
    "react-autosuggest": "^6.0.4",
    "react-bootstrap": "^0.30.5",
    "react-color": "^2.3.2",
    "react-dnd": "^2.1.4",
    "react-dnd-html5-backend": "^2.1.2",
    "react-dom": "^15.3.2",
    "react-dropzone": "^3.6.0",
    "react-helmet": "^3.1.0",
    "react-komposer": "^1.13.1",
    "react-onclickoutside": "^5.7.1",
    "react-simple-di": "^1.2.0",
    "react-taco-table": "^0.4.1",
    "react-tether": "^0.5.2",
    "react-textarea-autosize": "^4.0.5",
    "sortablejs": "^1.4.2",
    "stripe": "^4.11.0",
    "sweetalert2": "^4.3.3",
    "swiper": "^3.3.1",
    "tether-drop": "^1.4.2",
    "tether-tooltip": "^1.2.0",
    "transliteration": "^1.1.9",
    "url": "^0.11.0"
  },
  "devDependencies": {
    "autoprefixer": "^6.5.0",
    "babel-eslint": "^7.0.0",
    "babel-plugin-lodash": "^3.2.9",
    "babel-preset-stage-2": "^6.17.0",
    "browserstack-local": "^1.0.0",
    "chai": "^3.5.0",
    "eslint": "^3.7.1",
    "eslint-plugin-react": "^6.3.0",
    "js-yaml": "^3.6.1",
    "react-addons-test-utils": "^15.3.2",
    "wdio-allure-reporter": "^0.1.1",
    "wdio-mocha-framework": "^0.4.3",
    "webdriverio": "^4.2.16"
  },
  "postcss": {
    "plugins": {
      "autoprefixer": {
        "browsers": [
          "last 2 versions"
        ]
      }
    }
  },
  "scripts": {
    "create-report": "allure generate allure-results/ -o ~/allure-report",
    "open-report": "cd && allure report open",
    "del-report": "rm -rf ~/allure-report && rm -rf allure-results",
    "test-local": "wdio tests/runner/local.conf.js",
    "test-browserstack": "wdio tests/runner/browserstack.conf.js; kill $(ps aux | grep '[b]rowserstack' | awk '{print $2}')"
  }
}