These are chat archives for reactioncommerce/reaction

10th
Sep 2017
Omniscient
@JoshuaRowe11_twitter
Sep 10 2017 04:13
Hey guys, im getting
Uncaught SyntaxError: Unexpected token import
and a whole lot of
Uncaught TypeError: Cannot read property 'meteorInstall' of undefined
in my Console in Chrome Developer tools after installing and running Reaction
I'm struggling to figure out how to fix it
James Effarah
@jameseffarah
Sep 10 2017 05:12

I keep getting the following error when pushing to heroku. I've followed that guide on meduim.

-----> Building Meteor app with ROOT_URL: http://suppdogs-dev.herokuapp.com
cfs:tempstore: updating npm dependencies -- combined-stream...
cfs:gridfs: updating npm dependencies -- mongodb, gridfs-stream...
Errors prevented bundling:
While minifying app code:
/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:4454:13:
Only one default export allowed per module. (1:1626703)
at Parser.pp$5.raise
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:4454:13)
at Parser.pp$1.raiseDuplicateExportError
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2819:8)
at Parser.pp$1.checkDuplicateExports
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2813:10)
at Parser.pp$1.checkExport
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2712:12)
at Parser.pp$1.parseExport
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2649:10)
at Parser.parseExport
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:5923:20)
at Parser.pp$1.parseStatement
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:1884:74)
at Parser.parseStatement
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:5835:22)
at Parser.pp$1.parseBlockBody
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2268:21)
at Parser.pp$1.parseBlock
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2247:8)
at Parser.pp$3.parseFunctionBody
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:4235:22)
at Parser.parseFunctionBody
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:5822:20)
at Parser.pp$1.parseFunction
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:2386:8)
at Parser.pp$3.parseFunctionExpression
(/app/tmp/cache/1.5.2/.meteor/packages/abernix_standard-minifier-js/.2.1.0.34t437++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/node_modules/meteor/babel-compiler/node_modules/babylon/lib/index.js:3760:17)
at Parser.pp$3.parseExprAtom
(/app/tmp/cache/1.5.2

Dr Sebis
@smagne87
Sep 10 2017 16:52
Hello, I'm starting using reaction but I'm gettin FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
when running reaction run
This is the command log I get
Using settings file at settings/dev.settings.json
Setting up plugin imports...
Setting up style imports...
[[[[[ ~\E\work\reaction ]]]]]
=> Started proxy.
=> Started MongoDB.
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Josh Cox
@joshuacox
Sep 10 2017 19:27
@smagne87 how much free memory do you have? free -m
Dr Sebis
@smagne87
Sep 10 2017 20:44
Hi @joshuacox I have 8gb but when I check I have 4gb free. Could be related with my OS? I'm on Windows.
Joshua A Sells
@poundimal_twitter
Sep 10 2017 22:34
What is the easiest way to delete products
Brent Hoover
@zenweasel
Sep 10 2017 22:41
There is no way to delete products from within the app, only Archive
Dr Sebis
@smagne87
Sep 10 2017 23:39

Hi @zenweasel any ideas about my error?

This is the command log I get

Using settings file at settings/dev.settings.json
Setting up plugin imports...
Setting up style imports...
[[[[[ ~\E\work\reaction ]]]]]
=> Started proxy.
=> Started MongoDB.
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Brent Hoover
@zenweasel
Sep 10 2017 23:54
No, sorry. I’ve never seen that error before. This is on your local machine?