Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 02 18:58
    nnnnat edited #6107
  • Dec 02 18:57
    nnnnat edited #6107
  • Dec 02 13:56
    Trovidan commented #6084
  • Nov 19 15:27
    spencern closed #6278
  • Nov 19 15:27
    spencern commented #6278
  • Nov 18 23:47
    focusaurus closed #6310
  • Nov 18 23:47

    focusaurus on trunk

    fix: Get product image uploads … fix: Latest api-plugin-files to… chore: Fix CI integration tests… and 1 more (compare)

  • Nov 18 23:47

    focusaurus on bug-6298

    (compare)

  • Nov 18 23:47
    focusaurus closed #6309
  • Nov 18 23:47
    focusaurus closed #6298
  • Nov 18 23:38
    kieckhafer review_requested #6309
  • Nov 18 22:23
    focusaurus commented #6309
  • Nov 18 22:21
    focusaurus review_requested #6309
  • Nov 18 22:13
    focusaurus synchronize #6309
  • Nov 18 22:13

    focusaurus on bug-6298

    chore: Fix CI integration tests… (compare)

  • Nov 18 22:06
    focusaurus synchronize #6309
  • Nov 18 22:06

    focusaurus on bug-6298

    chore: Fix CI integration tests… (compare)

  • Nov 18 16:26
    willopez commented #6309
  • Nov 17 23:52
    focusaurus commented #6309
  • Nov 17 23:51
    focusaurus synchronize #6309
SEDHU
@sedhurabe
in the settings
Robin T
@qispark

Hi there, I've been trying to create a custom plugin for Reaction to extend the default Product schema. I've followed the advice here (https://docs.reactioncommerce.com/docs/next/how-to-extend-product) and also looked at some other publicly available plugins.

However, the first part of the doc tells me to import those schemas from "/imports/collections/schemas", but when I try to put that in my simpleSchemas.js file and run that on my local setup, it says Cannot find module. I'm not too sure how to fix that import. Does anyone have any pointers (or could share any similar plugins to extend the product schema?) Many thanks in advance.

2 replies
Robin T
@qispark

Hi there, I've been trying to use the reaction-dummy-data package to do my own data import. Creating & installing the plugin has been OK, as I've followed the same structure for my plugin. However, when it comes to running the mutation to create products, I have encountered "Access Denied" or permission issues. An error is thrown when running the addTags or createProduct mutations within my function (equivalent to loadProductsAndTags)

Interestingly, running the addTags / createProducts mutations my themselves in the graphql explorer has no problems, so I don't think there was actually a permission problem. I'm also using hydra-token to generate my auth token, for a store owner user.

It looks like someone else also experienced a similar issue before, back on March 27:

@loan-laux I have a trouble with using reaction-dummy-data-ui. I include Authorization header into request but reaction's API responds me with "Access Denied" error.
I tried following that thread but it wasn't clear whether or not it was resolved.

Really appreciate it if someone could point me in the right direction. Thank you in advance.

3 replies
vakareeralil
@vakareeralil
I find this error happening always. Could someone help me debug this?
08:07:04.676Z INFO Reaction: GraphQL listening at http://localhost:3000/graphql (port 3000)

08:07:04.677Z INFO Reaction: GraphQL subscriptions ready at ws://localhost:3000/graphql (port 3000)

(node:18) DeprecationWarning: GridStore is deprecated, and will be removed in a future version. Please use GridFSBucket instead

(node:18) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.

TypeError: Cannot read property 'message' of undefined

at GridFSStore.<anonymous> (/usr/local/src/app/node_modules/@reactioncommerce/file-collections/dist/common/FileCollection.js:85:78)

at GridFSStore.emit (events.js:314:20)

at GridFSStore.EventEmitter.emit (domain.js:486:12)

at GridWriteStream.emitError (/usr/local/src/app/node_modules/@reactioncommerce/file-collections-sa-base/dist/StorageAdapter.js:159:28)

at GridWriteStream.emit (events.js:326:22)

at GridWriteStream.EventEmitter.emit (domain.js:486:12)

at GridWriteStream.FlushWritable.emit (/usr/local/src/app/node_modules/flushwritable/lib/FlushWritable.js:37:31)

at GridWriteStream._error (/usr/local/src/app/node_modules/gridfs-stream/lib/writestream.js:246:7)

at /usr/local/src/app/node_modules/gridfs-stream/lib/writestream.js:265:8

at processTicksAndRejections (internal/process/task_queues.js:75:11)

08:09:19.522Z INFO Reaction: Stopping Reaction API...

(node:18) DeprecationWarning: collection.save is deprecated. Use insertOne, insertMany, updateOne, or updateMany inste

ad.

(node:18) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.

TypeError: Cannot read property 'message' of undefined

at GridFSStore.<anonymous> (/usr/local/src/app/node_modules/@reactioncommerce/file-collections/dist/common/FileCollection.js:85:78)

at GridFSStore.emit (events.js:314:20)

at GridFSStore.EventEmitter.emit (domain.js:486:12)

at GridWriteStream.emitError (/usr/local/src/app/node_modules/@reactioncommerce/file-collections-sa-base/dist/StorageAdapter.js:159:28)

at GridWriteStream.emit (events.js:326:22)

at GridWriteStream.EventEmitter.emit (domain.js:486:12)

at GridWriteStream.FlushWritable.emit (/usr/local/src/app/node_modules/flushwritable/lib/FlushWritable.js:37:31)

at GridWriteStream._error (/usr/local/src/app/node_modules/gridfs-stream/lib/writestream.js:246:7)

at /usr/local/src/app/node_modules/gridfs-stream/lib/writestream.js:265:8

at processTicksAndRejections (internal/process/task_queues.js:75:11)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! reaction-api@3.10.0 start: `node --experimental-modules --experimental-json-modules ./src/index.js`

npm ERR! Exit status 1



npm ERR!

npm ERR! Failed at the reaction-api@3.10.0 start script.
Karbal
@karbal
Hello @loanlaux @rondlite hello friends, I encountered this problem during development, you have help how I can solve it.
WARN MongoDB: Failed to initialize a MongoDB replica set. This may result in errors or some things not working. Error: api_1 | 09:14:48.943Z INFO MongoDB: Connecting to MongoDB...
Thanks
Kevin Sloan
@ksloan
What's the recommended way to do React Native mobile app authentication with Reaction-Identity?
Is the best option just an OpenID plugin like https://docs.expo.io/versions/latest/sdk/app-auth/ and open the in-app browser to login with reaction-identity? Is there a better way to auth natively. I checked out out how the reaction-identity client is actually doing the auth, and it's with Meteor Accounts. Should I be running Meteor Accounts on React Native?
Thanks in advance for any pointers!
Olusola Ajayi
@ebzeal
Hi all, does anyone have the link to the new swag shop tutorial repo used for this explanation in https://docs.reactioncommerce.com/docs/swag-shop-7 ?
Arda Kara
@karaarda
There are severe bugs in the discount plugins, they are not ready for use. Is there anyone interested in working on it? I am planning to find an fix the bugs for our private fork of the project. It might not be fully compatible with the base project, if there is anyone interested in fixing the open source code I may help with it.
Send me a DM if you are interested
beingke
@beingke
Hey guys, hope you're doing well. Just wondering, does Reaction Commerce implement Strong Customer Authentication (SCA) for Stripe payments? If not, is it in the roadmap?
Alvaro Bueno
@delagroove
I don't think it's in the roadmap, it was metioned a while back and no changes have happened. It might be a community effort
mentioned*
@karaarda can you start by mentioning them, maybe they have tickets for it, i know the FE is missing but let me know whart errors you refer to
beingke
@beingke
Thanks for the reply @delagroove. Just as a headsup, full SCA enforcement will begin on 31 December, so all payments from Europe will probably start breaking. I will do some more research and see if I can contribute to the community effort.
Alvaro Bueno
@delagroove
thanks for the reminder, I might need to assess that with our team
Arda Kara
@karaarda
@delagroove first of all the discount system uses an object called cart.billing which is obsolete. And you can find more detail in my comment: reactioncommerce/api-plugin-discounts-codes#7
I decided to write a new plugin which integrates into our payment plugins
Chris Birk
@cmbirk
Is this documentation up to date with the newer server version? https://docs.reactioncommerce.com/docs/3.3.0/image-handling#docsNav
2 replies
Εɭioʈ H
@elhil
Hey all, love the new plugin architecture! Question though: I'm updating a project from the monolithic API core which had a good number of core code customizations. Is there a recommended way to implement those in plugins? Does it just look like having custom packages for all the core plugins it touches? Specifically addCartItems and a few transforms.
Arda Kara
@karaarda
@elhil we are using a plugin which we named as customfields in our project. You can override any function, query, mutation, resolver or schema defined by another plugin as long as your customfields plugin is registered after the plugin it is overriding. I am not sure if there is any other way. If you have too many changes on the core project you may also consider making a private fork of the plugin that you made your extensive changes and replace it with the original plugin. We are also doing that on many places including payments, mail, checkouts, discounts etc. Let me know if you have any questions
You may better send a PM for your questions as I am not active here everyday
Dennis Fricke
@trollr
Hi guys, just a short question: I saw in github Insights that the contribution has decreased a lot over the last months. Is reaction still actively developed? Or is it on hold due to the Mailchimp takeover? I want to build two new stores and am looking for something new. But I do not want to bet on a dead horse
1 reply
Benjamin Stürmer
@BenjaminStuermer

Hi everyone. My team is developing a prototype shop using Reaction and one of the main features we need to implement is faceted search. I was pretty pumped when I saw this - https://docs.reactioncommerce.com/docs/v1.9.0/packages-search - only to realize after a bit that the documentation page is from two major versions ago.

I am trying to find something similar to the search-mongo and ui-search plugins described in that page, but for the current version of Reaction. It seems like there must be, since faceted search in ecommerce is so ubiquitous, but I'm just not figuring out how to find it.

And a totally unrelated question: My partner and I have figured out through trial and error how to install plugins into our Reaction site, but it's really bothering me that I haven't been able to find a documentation page describing how to do that. It makes me worry that I'm missing something. I am seeing lots of content on the docs site describing how to write plugins, but is there a walkthrough for how to install plugins that already exist?
hrhosni
@hrhosni
Hello everyone. We've been experimenting with RC to see if we should use it for an upcoming project.
I've noticed that after make init-dev finishes, reaction-admin still takes lots of time to get up and running. It needs about 15-20mins to finish the meteor run --port 4080 --no-lint --no-release-check --raw-logs command (on our internet speed which admittedly isn't great).
Why does it have to download something on every make init-dev? Having to wait that long on every launch is a big show stopper for us.
Chris Birk
@cmbirk

I’m trying to build an image off of the reactioncomerce/reaction repo, but getting this error when installing via k8s:

02:20:26.176Z ERROR Reaction: Database needs migrating. The "simple-authorization" namespace must be at version 4. See docs for more information on migrations: https://github.com/reactioncommerce/api-migrations
  Error: Database needs migrating. The "simple-authorization" namespace must be at version 4. See docs for more information on migrations: https://github.com/reactioncommerce/api-migrations
      at Object.preStartup [as func] (file:///usr/local/src/app/node_modules/@reactioncommerce/api-plugin-authorization-simple/src/preStartup.js:38:11)
      at processTicksAndRejections (internal/process/task_queues.js:94:5)
      at async ReactionAPICore.runServiceStartup (file:///usr/local/src/app/node_modules/@reactioncommerce/api-core/src/ReactionAPICore.js:371:9)
      at async ReactionAPICore.start (file:///usr/local/src/app/node_modules/@reactioncommerce/api-core/src/ReactionAPICore.js:575:5)
      at async runApp (file:///usr/local/src/app/src/index.js:19:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reaction-api@3.8.0 start: `node --experimental-modules --experimental-json-modules ./src/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reaction-api@3.8.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2020-11-20T02_20_26_215Z-debug.log

Is there a reason it’s building version 3.8.0 instead of the 3.10.0 that’s in the repo? The Dockerfile is a little vague

I’ve installed reactioncommerce/reaction v.3.9.0 which is why the simple-authorization plugin is failing on the migrations. The Dockerfile in the repo should be building 3.10.0, but it isn’t :(
Mian Muhammad
@mian-muhammad
how to integrate this https://github.com/outgrow/reaction-file-collections-sa-s3 in newer versions of reaction api
ihalton
@ihalton
Hello, I submit a PR to Example-storefront to fix a bug. Who can help me to review the PR then merge?
1 reply
Jinho Jang
@jinhojang6
Screen Shot 2020-11-21 at 5.46.13 PM.png
I signed in the admin panel and the menu on the left hand side shows nothing.
Screen Shot 2020-11-21 at 5.47.24 PM.png
I clicked 'products' and got a blank page with this url
Does anyone know how to sort this out?
2 replies
ihalton
@ihalton
Hello, team. Have anyone know how to bulk import products to reaction by CSV file or API? Thanks
I have checked reaction technology guide, unfortunately, Maybe it do not support the feature. It is helpful if team have any suggestions to share. Thanks
Vladimir Puz
@redscare
Hello. How can i update admin UI from custom plugin? Is there any manual for that? This looks outdated.. https://docs.reactioncommerce.com/docs/blocks-api
1 reply
What i mean is i wrote custom plugin to extend API. I need to extend admin UI with some custom fields in product editor. The manual in docs looks outdated. What are the latest recommendations to do something like that?
i can see some repos in git making me think that there will be changes in admin like with API
ihalton
@ihalton
hello, Have anyone know how to bulk import products to reaction by CSV file or API?
2 replies
Ian Chikwature
@ianchikwature
Hi everyone, does anyone know of any good affordable tax solutions to integrate with Reaction Commerce? I can see TaxCloud and Avalara in the docs but when I go on their websites I can see their pricing information. Alternatively does anyone know what their pricing structures are? Thanks
4 replies
Olusola Ajayi
@ebzeal

Hi people, I am trying to integrate threejs into Reaction Commerce. On adding

import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader";

I keep getting this error.

import { LineSegmentsGeometry } from "../lines/LineSegmentsGeometry.js";
SyntaxError: Unexpected token { at Module._compile (internal/modules/cjs/loader.js:723:23)

I have tried adding babel-loader to the webpack in next.config.src as well as adding @babel/runtime, even adding babel-node to my start script

Please, I need help in getting the GLTFLoader to work.

Venky MSD
@venkatesanpvk

Cloning the master branch of Reaction from Github...

Cloning into 'reaction'...
fatal: Remote branch master not found in upstream origin

Error: Unable to clone from Github. Exiting.

reaction init throwing this erro

Alvaro Bueno
@delagroove
@venkatesanpvk check if github changed the branch names, maybe is trunk or main now
Olusola Ajayi
@ebzeal

Hi people, I am trying to integrate threejs into Reaction Commerce. On adding

import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader";

I keep getting this error.

import { LineSegmentsGeometry } from "../lines/LineSegmentsGeometry.js";
SyntaxError: Unexpected token { at Module._compile (internal/modules/cjs/loader.js:723:23)

I have tried adding babel-loader to the webpack in next.config.src as well as adding @babel/runtime, even adding babel-node to my start script

Please, I need help in getting the GLTFLoader to work.

Has anybody seen this error before? Any ideas on how to fix this will be appreciated

Alvaro Bueno
@delagroove
did you try with the original package? it loooks like GLTF is now part of 3js
2 replies
Mian Muhammad
@mian-muhammad
Has anyone connected s3 bucket with reaction API.
1 reply
Rúben Almeida
@almeidarruben
Hello!
I'm using Shippo during checkout to get shipping rates. How can I include these rates on the order? Basically, I'm trying to have dynamic fulfillment options.
vovapilimon
@vovapilimon
Good afternoon! Please tell me what could be the problem. I downloaded the RC build and run the make command. All containers are up, but when I try to log in (go to identity, localhost: 4100), I get errors in the browser in the console
modules-runtime.js? hash = 96872d0e3cd16dbafa2362086df643785018e61b: 232 Uncaught Error: Cannot find module '@ babel / runtime / helpers / createSuper'
Faiz Ahmed
@Faiz7412
is it possible to just use headless reaction for building a backend for ecommerce store deployed using netlify? Does Reaction support Netlify functions?