These are chat archives for reactioncommerce/reaction

22nd
Feb 2017
seyikeye
@seyikeye
Feb 22 2017 08:29
Hi guys, I have been trying to get reaction commerce running locally on my system but it keeps bringing this on the console. Uncaught ReferenceError: meteorInstall is not defined
at app.js?hash=46b0640…:1 There is no route for the path: /
Brent Hoover
@zenweasel
Feb 22 2017 08:30
@seyikeye Do you have some context for that question?
Can you search your codebose for meteorInstall? That should not be anywhere in your code
seyikeye
@seyikeye
Feb 22 2017 08:33
I can find meteorInstall in my code
Brent Hoover
@zenweasel
Feb 22 2017 08:34
I don’t know how that got in there. That does not exist anywhere in the repo
what does the code look like?
seyikeye
@seyikeye
Feb 22 2017 08:34
Likewise.... I will get a snapshot

`var require = meteorInstall({"imports":{"plugins":{"core":{"discounts":{"lib":{"collections":{"schemas":{"config.js":["meteor/aldeed:simple-schema","/lib/collections/schemas/registry","./discounts",function(require,exports,module){

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// imports/plugins/core/discounts/lib/collections/schemas/config.js //
// //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
module.export({DiscountsPackageConfig:function(){return DiscountsPackageConfig}});var SimpleSchema;module.import("meteor/aldeed:simple-schema",{"SimpleSchema":function(v){SimpleSchema=v}});var PackageConfig;module.import("/lib/collections/schemas/registry",{"PackageConfig":function(v){PackageConfig=v}});var Discounts;module.import("./discounts",{"Discounts":function(v){Discounts=v}});
// 2
// 3
//
/** // 5

  • DiscountsPackageConfig Schema //`
Brent Hoover
@zenweasel
Feb 22 2017 08:37
what is this running on?
that’s a built version of RC, not the source
seyikeye
@seyikeye
Feb 22 2017 08:40
Thats the error I get in the browser console.
Brent Hoover
@zenweasel
Feb 22 2017 08:40
how are you running RC?
seyikeye
@seyikeye
Feb 22 2017 08:41
reaction
Brent Hoover
@zenweasel
Feb 22 2017 08:42
Are you running this locally on your computer, on a Docker container?
seyikeye
@seyikeye
Feb 22 2017 08:48
Locally
Brent Hoover
@zenweasel
Feb 22 2017 08:48
hmmm, that’s a weird one
seyikeye
@seyikeye
Feb 22 2017 08:48
Very weird
Brent Hoover
@zenweasel
Feb 22 2017 08:48
can you try a fresh clone? reaction init reaction-test
seyikeye
@seyikeye
Feb 22 2017 08:49
I have been on this for some days now. Cloned from github severally
Brent Hoover
@zenweasel
Feb 22 2017 08:49
what platform?
seyikeye
@seyikeye
Feb 22 2017 08:52
It is currently cloning.
seyikeye
@seyikeye
Feb 22 2017 09:05
After running reaction init reaction-test
I keep getting the same error message as before Uncaught TypeError: Cannot read property 'Job' of undefined at global-imports.js:33 Uncaught ReferenceError: meteorInstall is not defined at app.js:1 There is no route for the path: / action @ kadira_flow-router-ssr.js:890
Brent Hoover
@zenweasel
Feb 22 2017 09:19
what platform?
seyikeye
@seyikeye
Feb 22 2017 09:25
On the browser console
Brent Hoover
@zenweasel
Feb 22 2017 09:25
OSX, Linux, or Windows?
seyikeye
@seyikeye
Feb 22 2017 09:25
mac
Brent Hoover
@zenweasel
Feb 22 2017 09:26
Have you tried removing and reinstalling Meteor? Something really strange is going on
seyikeye
@seyikeye
Feb 22 2017 09:26
I have done that
Brent Hoover
@zenweasel
Feb 22 2017 09:31
What do you get for reaction -v?
seyikeye
@seyikeye
Feb 22 2017 09:58
No result
Brent Hoover
@zenweasel
Feb 22 2017 09:59
no result?
seyikeye
@seyikeye
Feb 22 2017 09:59
It goes into an endless loading
Brent Hoover
@zenweasel
Feb 22 2017 09:59
man, something is messed up
seyikeye
@seyikeye
Feb 22 2017 10:03
What to do now??????
Brent Hoover
@zenweasel
Feb 22 2017 10:04
I guess reinstall Node? The reaction cli is not even using Meteor
lodgir
@lodgir
Feb 22 2017 11:00
hello???
i am new here and just wanted to know how to use meteor?
Brent Hoover
@zenweasel
Feb 22 2017 11:17
Hello
lodgir
@lodgir
Feb 22 2017 11:17
hi @zenweasel
Brent Hoover
@zenweasel
Feb 22 2017 11:17
To understand Meteor you will probably want to start here
lodgir
@lodgir
Feb 22 2017 11:18
yeah i am refering that onli
but i didnt understand much from it
Brent Hoover
@zenweasel
Feb 22 2017 11:23
well, that’s really the best reference. There’s also https://themeteorchef.com/
Dennis Öhman
@madsoulswe
Feb 22 2017 12:24
Is there a bug/issue with the order page (0.18.1)?
The tab in the browser goes to 20% cpu and 1400 MB of memory and then chrome gives timeout message nad the node instance goes to 100% CPU.
I mean the site should manage 134 orders with 2 products in each order without going mad?
Brent Hoover
@zenweasel
Feb 22 2017 12:26
As I mentioned yesterday, there a couple of sites that are doing significantly more volume than that without an issue.
134 orders should be fairly easy to manage I would think
seyikeye
@seyikeye
Feb 22 2017 12:28
@zenweasel Guess what? I decided to run the app on my safari browser and it worked with a clean browser console. I was previously running it on chrome browser. Even though the safari works fine, chrome is still displaying error
Brent Hoover
@zenweasel
Feb 22 2017 12:28
@seyikeye even weirder
@madsoulswe Were you able to get Kadira running?
seyikeye
@seyikeye
Feb 22 2017 12:29
@zenweasel I know right?
Brent Hoover
@zenweasel
Feb 22 2017 12:30
@seyikeye Something about your install is haunted.
Dennis Öhman
@madsoulswe
Feb 22 2017 12:38
@zenweasel I'm trying to get Kadira (the free alternativ) running in production. I can use i locally with no problem. But in production I can get Debug almost working without it crashing.
Brent Hoover
@zenweasel
Feb 22 2017 12:54
@madsoulswe So is this a problem that’s been slowing building or just started happening all of a sudden?
Let me tag @jshimko and see if he might have any ideas as to what might be going on as well. (He should be online in not too long and I am going offline)
Dennis Öhman
@madsoulswe
Feb 22 2017 13:02
@zenweasel We haven't had any problem when developing locally and doing small test in production, but after the client started testing stuff we saw that node.js started crashing (memory execption) when visiting orders-page.
I'm deploying a new version now with new Kadira appid/secrect that is connected to a payed subscription. Hopefully I can get some data from kadira. :smiley:
Dennis Öhman
@madsoulswe
Feb 22 2017 13:07
@zenweasel I updated Ubuntu yesterday and I thought the crashes went away, but now It crashes again with memory exceptions. But that's a Meteor problem
blob
It seems UserProfile is slowing down
bnordvik
@bnordvik
Feb 22 2017 16:31
Why is the load so slow on reaction commerce? Only 200 products in db and load is between 18 to 24 seconds when log in as an Admin. 150 products are exposed to public and times are 4 to 6 seconds? Initial load and click between shop and reaction.