by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    champlincj
    @champlincj
    Thanks @janus-reith for the reply. I am using the latest version and I agree you are right as I did see that in the documentation CSS is supported natively BUT I get this error with the CSS files I am trying to use I believe because they are the older format where the class names start with a "." period.? ---- web_1 | error in ./src/assets/footer.css
    web_1 |
    web_1 | Module parse failed: Unexpected token (5:0)
    web_1 | You may need an appropriate loader to handle this file type.
    web_1 | | =============================================*/
    web_1 | |
    web_1 | > .footer-nav-container {
    web_1 | | ul {
    web_1 | | li {
    web_1 |
    web_1 | @ ./src/pages/_app.js 58:0-30
    web_1 | @ multi ./pages/_app.js
    ----- The React template code and CSS files I'm trying to leverage are huge so updating them could be painful hence the attempt to load @zeit/next-css in the next.config.js. If it's not easy to get that working with the existing next.config.js I may bite the bullet and try to revamp the CSS class names. Either way I appreciate the response.
    champlincj
    @champlincj

    @janus-reith ... so I gave up on trying to get my CSS files working and now I'm just trying to follow the documentation at the link you provided and load a super simple CSS file (using the Body example at that link) and importing the CSS from the pages/app.js file as instructed and I'm still getting the parsing error.? Any ideas? ----- ~/reaction-development-platform/example-storefront$ npx next -v
    Next.js v9.4.4
    -------------- Failed to compile
    ./assets/footer.css 1:5
    Module parse failed: Unexpected token (1:5)
    You may need an appropriate loader to handle this file type.

    body {
    | font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica',
    | 'Arial', sans-serif; ----------------- If I comment out my css load from app.js import '../assets/footer.css'; the storefront loads as expected. Seems like this should be an easy task following the documentation but can't get by this simple styling issue....

    Alvaro Bueno
    @delagroove
    i think you need a CSS loader in the compiler config
    freewebwithme
    @freewebwithme

    hi, reaction-admin is working good in production mode using make.
    but in development mode, reaction-admin is not working.
    I checked using docker-compose logs There are

    Lots of npm warn abount peer dependency
    Somthing like this npm WARN @reactioncommerce/catalyst@1.19.1 requires a peer of react-dom@~16.9.0 but none is installed. You must install peer dependencies yourself.

    cgzambrano4
    @cgzambrano4
    buenas tardes como puedo instalar este servicio de reaction ecmmerse con mongodb y nodejs dentro del sistema operativo CentOS 7?
    panindra2017
    @panindra2017
    can body have instruction on how to run reaction commerce on google cloud instance for development .. basically i want to replace ll localhost url to public ip
    ihalton
    @ihalton

    @ihalton
    Running command: meteor run --port 4080 --no-lint --no-release-check --raw-logs
    [[[[[ /usr/local/src/app ]]]]]

    => Started proxy.
    Killed
    Error: Command failed: REACTION_METEOR_APP_COMMAND_START_TIME=1597467210450 meteor run --port 4080 --no-lint --no-release-check --raw-logs
    at checkExecSyncError (child_process.js:630:11)
    at Object.execSync (child_process.js:666:15)
    at run (file:///usr/local/src/app/.reaction/scripts/run.mjs:21:18)
    at file:///usr/local/src/app/.reaction/scripts/run.mjs:29:1
    at ModuleJob.run (internal/modules/esm/module_job.js:110:37)
    at async Loader.import (internal/modules/esm/loader.js:164:24) {
    status: 137,
    signal: null,
    output: [ null, null, null ],
    pid: 39,
    stdout: null,
    stderr: null
    }

    Error: App failed to start
    hello, get crashed when running reaction_admin from code. why?

    Alvaro Bueno
    @delagroove
    @cgzambrano4 el README.md del repositorio reaction_develop_platform lo explica, aplica para cualquier distribucion de Linux, debes instalar las dependencias y luego correr make, chequea que tengas suficuiente RAM asignada a docker (4gb o mas mi consejo)
    Birender
    @birender-s
    Hi, is there any demo installation available for Reaction Commerce platform to explore APIs and UI to try around and review fitment for mobile Apps (Android, iOS) under development. I just want to do quick review and later perform setup as per instructions. thanks in advance !
    Birender
    @birender-s
    Hi Team, just wanted to seek inputs on GraphQL playground issue realted to Auth header. I am able ot execute queries that don't require header but as soon as i copy header e.g. {
    "Authorization": "lOxMUXNfsW36sNLCPGWov7Fa_Jh4i1tcsF_Tw2kwOZI.lzvZiYFgeC97L4Dlsv-XNMH6j0uESSQ4zFsqzp4jPLE"
    } , it displays error "Server cannot be reached" (next to http://<IP>:3000/graphql-beta ). I tried my approach for other open GraphQL APIs e.g. https://countries-274616.ew.r.appspot.com and it just works fine there. Seems like something specific to Reaction setup. Can you please share pointers? Thanks in advance !
    5 replies
    Birender
    @birender-s

    Hi Team, just wanted to seek inputs on GraphQL playground issue realted to Auth header. I am able ot execute queries that don't require header but as soon as i copy header e.g. {
    "Authorization": "lOxMUXNfsW36sNLCPGWov7Fa_Jh4i1tcsF_Tw2kwOZI.lzvZiYFgeC97L4Dlsv-XNMH6j0uESSQ4zFsqzp4jPLE"
    } , it displays error "Server cannot be reached" (next to http://<IP>:3000/graphql-beta ). I tried my approach for other open GraphQL APIs e.g. https://countries-274616.ew.r.appspot.com and it just works fine there. Seems like something specific to Reaction setup. Can you please share pointers? Thanks in advance !

    gentle reminder for suggestion !

    Loan Laux
    @loan-laux
    @birender-s Are you sure that your API is running locally? Do you see it when you do a docker ps?
    Birender
    @birender-s
    yes @loan-laux i will verify once again though and confirm.
    Loan Laux
    @loan-laux
    Oh yeah, I know what’s happening. Use http://<IP>:3000/graphql instead. Drop the -beta part.
    1 reply
    Birender
    @birender-s
    ok, thanks for the pointer!
    i'll check after sometime and get back if any issues.
    Birender
    @birender-s
    graphQl1.PNG
    graphQl2.PNG
    @balibebas @loan-laux thanks for sharing pointers but i am still struggling. The thing is that i am able ot execute query without header but the moment i paste header (even before hitting run button), i get the error "server cannot be reached". copied above screeenshots.
    4 replies
    balibebas
    @balibebas
    This message was deleted
    eyroooon
    @eyroooon
    Can anyone help me to install reaction on my linode server
    Wesley-Smith25
    @Wesley-Smith25
    yhelp! I managed to get the dockers up and running. but for some silly reason none of my changes take hold. I have re build the entire setup with changes everywhere from changing fonts to dropping random text on the page to changing the port that the page is hosted on and nothing works. I am probably missing something very simple on where to make the actual changes.
    Wesley-Smith25
    @Wesley-Smith25
    most likely I need to setup the ssh keys on my personal github page to be able to pull the personal changes I have made but I am not sure where to change these settings and if I changed all the pointers to the github page correctly
    Loan Laux
    @loan-laux
    @Wesley-Smith25 Looks like you forgot to enable development mode. Are you changes made on the storefront?
    Mian Muhammad
    @mian-muhammad
    have setup reaction development platform on local vm but can't access reaction-admin and reaction-identity from other devices as ory hydra don't allow http over non local environment. Has someone gone thru this?

    have setup reaction development platform on local vm but can't access reaction-admin and reaction-identity from other devices as ory hydra don't allow http over non local environment. Has someone gone thru this?

    @loan-laux have you done something like this?

    Loan Laux
    @loan-laux
    @mian-muhammad Responded on the main channel
    1 reply
    Wesley-Smith25
    @Wesley-Smith25
    @loan-laux spot on yes I did not do the make init-dev but now that I have done this the storefront starts and stops with " ': No such file or directory " is there changes I need to make to the docker-compose.override.yml file to get this working? I am running the installation on a windows 10 system
    Loan Laux
    @loan-laux
    Hmm… Strange. Windows might be the issue. Are you using the WSL?
    Wesley-Smith25
    @Wesley-Smith25
    Let me confirm that my WSL setup is actually working correctly
    Wesley-Smith25
    @Wesley-Smith25
    WSL 2 integration is activated and running however I don't have any distro's setup is that Okay?
    Loan Laux
    @loan-laux
    No idea, never used WSL. But is Docker running inside of WSL or are you running Docker for Windows?
    Wesley-Smith25
    @Wesley-Smith25
    Docker for Windows
    Wesley-Smith25
    @Wesley-Smith25
    I have been running the make file from MINGW terminal and then the services are setup and running correctly but when I setup the dev-link and start the storefront it gives that error
    Wesley-Smith25
    @Wesley-Smith25
    do I have to make init-dev for the entire environment or kan I just make dev the storefront?
    Loan Laux
    @loan-laux
    You can run make dev-link-example-storefront and then restart the storefront. But you alrady have the docker-compose.override.yml file, right?
    Wesley-Smith25
    @Wesley-Smith25
    yes I do have it

    version: '3.4'

    services:
    web:
    image: reactioncommerce/node-dev:10.16.3-v2
    command: "./bin/start"
    volumes:

      - .:/usr/local/src/app
      - web-yarn:/home/node/.cache/yarn
      # Do not link in node_modules from the host
      # This allows IDEs to run lint etc with native add-ons for host OS
      # Without interfering with native add-ons in container
      - empty_node_modules:/usr/local/src/app/node_modules

    volumes:
    web-yarn:
    empty_node_modules:

    Loan Laux
    @loan-laux
    So dev mode is activated, and your issue is your ': No such file or directory error when you start your storefront
    But I honestly have no idea why that’s happening
    Maybe some other Windows users can enlighten you on that
    Wesley-Smith25
    @Wesley-Smith25
    in the meantime I am trying to get it running without the docker right now to see if that makes a difference
    Wesley-Smith25
    @Wesley-Smith25
    Managed to fix IT!
    not sure exactly what the effect of it is but I went in on the override file and removed the start command and now it looks like my changes are on the page!
    How ever changes are only implemented on docker reboot
    Loan Laux
    @loan-laux
    Amazing, well done @Wesley-Smith25!
    Wesley-Smith25
    @Wesley-Smith25
    Just another question what will be the easiest platform to get this entire setup to run from scratch? linux or mac? Basically when I deploy my developed site to the rest of the world what should the hosting server be running?
    Loan Laux
    @loan-laux
    Linux will always be easier for sure. Do you have Mac servers? You don’t see that very often!
    Wesley-Smith25
    @Wesley-Smith25
    No there are no servers yet, just considering options at this stage
    Loan Laux
    @loan-laux
    Well, Linux all the way, @Wesley-Smith25