carlos-olivera / Next-Reaction

Reaction Commerce custom plugin
13 stars 3 forks source link

Black Screen w/1.4 Reaction #1

Open nonfungibletunji opened 7 years ago

nonfungibletunji commented 7 years ago

[Log] Exception from Tracker recompute function: (meteor.js, line 934) [Log] Error: No such template: productGrid (meteor.js, line 934) [Log] http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3212:24 (meteor.js, line 934) http://0.0.0.0:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:68:41 http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1934:24 _withTemplateInstanceFunc@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:3744:16 http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1932:54 _withCurrentView@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2271:16 Spacebars.include:anonymous@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1931:34 _compute@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:339:36 Computation@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:229:18 autorun@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:613:34 autorun@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1944:29 http://0.0.0.0:3000/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:67:17 fireCallbacks@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2014:30 nonreactive@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:640:13 http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2011:24 _withCurrentView@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2271:16 _fireCallbacks@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2010:25 _createView@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2028:23 _materializeView@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2073:20 materializeDOMInner@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1532:31 _materializeDOM@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1474:22 [native code] _materializeDOM@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:1483:11 http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2113:46 nonreactive@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:640:13 _materializeView@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2079:22 render@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2370:25 renderWithData@http://0.0.0.0:3000/packages/blaze.js?hash=f33d3dfed63a491d24e3aa07ad66c24b5fe8c761:2401:22 renderBlazeView@http://0.0.0.0:3000/app/app.js?hash=df6e42d72f6274f5226f0052ec7866c22b77392b:43940:48 componentDidMount@http://0.0.0.0:3000/packages/gadicc_blaze-react-component.js?hash=f6e8e3c3d10ce74f6f2bc45605b39b27646275ab:115:27 measureLifeCyclePerf@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:107702:14 http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:107890:31 notifyAll@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:100517:26 close@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:110918:35 closeAll@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:101676:29 perform@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:101623:24 batchedMountComponentIntoNode@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:112950:22 perform@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:101610:24 _renderNewRootComponent@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:113143:32 _renderSubtreeIntoContainer@http://0.0.0.0:3000/packages/modules.js?hash=b81b8755f827fbd55c278debeec778688413b8a3:113225:55 http://0.0.0.0:3000/app/app.js?hash=df6e42d72f6274f5226f0052ec7866c22b77392b:82901:22 _compute@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:339:36 _recompute@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:358:22 _runFlush@http://0.0.0.0:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:532:24 onGlobalMessage@http://0.0.0.0:3000/packages/meteor.js?hash=814eae5b938a9a89ce7cf9174c98be4982f953d8:401:23

carlos-olivera commented 7 years ago

Hi!

Unfortunately the plugin is no longer compatible with RC 1.4, due to change the product grid template from Blaze to React.

I am working on a updated version.

nonfungibletunji commented 7 years ago

I was able to render the new react components that i copied from product variants plugin. I am stuck on how you were able to filter "featured" products to appear on the home screen

S. Tunji Turner sightuary

On Jul 21, 2017, at 7:28 AM, Carlos Olivera Terrazas notifications@github.com wrote:

Hi!

Unfortunately the plugin is no longer compatible with RC 1.4, due to change the product grid template from Blaze to React.

I am working on a updated version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

carlos-olivera commented 7 years ago

@stunjiturner the filter is simple, you need to create a tag with a name like "featured" or "special" in your selected products.

And change the line 87 in the file : client/templates/products/productsLanding.js

const currentTag = "destacado";

(replace "destacado" with your custom tag.

(I made a mistake and put the word in spanish, I will fix that)

josx commented 7 years ago

@stunjiturner i am stuck with productGrid error, can you show me how you did it work?

nonfungibletunji commented 7 years ago

Ask Carlos?

S. Tunji Turner sightuary

On Sep 26, 2017, at 5:21 PM, José Luis Di Biase notifications@github.com wrote:

@stunjiturner i am stuck with productGrid error, can you show me how you did it work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

josx commented 7 years ago

@carlos-olivera any clue on this?

josx commented 7 years ago

Already done this for reaction-plugins-sample check it: https://github.com/reactioncommerce/reaction-example-plugin/pull/20