These are chat archives for reactioncommerce/reaction

10th
May 2019
Vadym Vorobel
@vadym-vorobel
May 10 04:13
@loan-laux thanks, I'll take a look
Alexander Bach
@AlexanderBachSchmidt
May 10 05:43
Hey everyone! Trying to play around with shipping methods, but finding myself a bit lost. Where would I for instance control shipping restrictions? Say I want free shipping to only apply to one country
progranime
@progranime
May 10 09:37
Hi @loan-laux is it safely to use bootstrap as css framework even there is a material ui set as default? does it affect the core component of the Reaction Commerce? Thanks
Nei Santos
@nei
May 10 09:57
anyone know how to make the logs more verbose? I am creating a new graphql endpoint but docker-compose logs -f shows me an error like ERROR Reaction: (errorId=cjvhwo9ry0004gamlatps4i47) when I post my payload.
Janus Reith
@janus-reith
May 10 12:07
@progranime The components using material-ui are scoped, so the styles should have issues. But Bootstrap on the otehr hand might have some global styles that could get cause troubles. Maybe check out if something like https://reactstrap.github.io/ works for you? Should be safer to use both side by side this way
silviuiacobivfuture
@silviuiacobivfuture
May 10 14:45

Hey - quick one - anyone knows why the starterkit simply refuses to build ?

$ NODE_ENV=production node ./src/server.js
/usr/local/src/node_modules/next/dist/server/next-server.js:783
throw new Error("Could not find a valid build in the '".concat(this.distDir, "' directory! Try building your app with 'next build' before starting the server."));
^

Error: Could not find a valid build in the '/usr/local/src/reaction-app/build/app' directory! Try building your app with 'next build' before starting the server.
at Server.readBuildId (/usr/local/src/node_modules/next/dist/server/next-server.js:783:15)
at new Server (/usr/local/src/node_modules/next/dist/server/next-server.js:80:25)
at module.exports (/usr/local/src/node_modules/next/dist/server/next.js:6:10)
at Object.<anonymous> (/usr/local/src/reaction-app/src/server.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
error Command failed with exit code 1.

I added this env var BUILD_ENV=production :D
still refuses to build.
Richard Keller
@richardkeller411
May 10 18:31
@silviuiacobivfuture What is your dev platform ?
Richard Keller
@richardkeller411
May 10 20:00
I am building a non-docker component and trying to access http://reaction.api.reaction.localhost:3000/graphql-alpha It comes up find in the brower as the playground renders. Why would my non-docker have an issue with not being able to hit that URL. I did notice that there was a post somewhere about it having to be in that Kubernets Nat or something like that.
Richard Keller
@richardkeller411
May 10 20:33
For anyone else looking to do the same change the variable for local dev INTERNAL_GRAPHQL_URL=http://localhost:3000/graphql-alpha
Parviz/Ibragim Bekliev
@bekliev
May 10 23:45
Hi everyone! Where I can see demo admin panel?