Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 06 21:57
    ZeeAzmat edited #5006
  • May 06 21:18
    ZeeAzmat commented #5006
  • May 06 21:07
    ZeeAzmat opened #5006
  • Apr 20 09:55
    brunoalfred commented #3994
  • Apr 16 13:49
    timemachine3030 closed #4373
  • Apr 13 10:46
    linci8210 opened #5005
  • Apr 12 06:09
    MexMade synchronize #5004
  • Apr 10 21:24
    MexMade opened #5004
  • Mar 30 14:36
    kuzaster commented #3994
  • Mar 15 13:29
    yimin-jiang commented #4815
  • Feb 17 14:28
    BenOHedges closed #291
  • Feb 17 14:28
    BenOHedges commented #291
  • Feb 17 10:59
    BenOHedges edited #291
  • Feb 17 10:59
    BenOHedges opened #291
  • Feb 09 12:50
    Sonberg closed #5003
  • Feb 09 12:50
    Sonberg opened #5003
  • Dec 30 2020 04:03
    Firfi closed #5002
  • Dec 30 2020 04:03
    Firfi commented #5002
  • Dec 29 2020 11:34
    Firfi opened #5002
  • Dec 24 2020 13:40
    yousry943 opened #5001
Alex Wang
@j3ang
Hi all, how do you integrate SSL with keystone? I'm trying to use the greenlockv4 (letsencript), but I can't figure out how.
Phuong Nguyen
@neunygph
hi there, does anyone know a way to warm up a Node server before any actual request is made ? thanks in advance
Mutaz Salahat
@msalahat
Hello
Any one knows how to run keystone 5 in pm2 cluster mode?
jpbcoder1979
@jpbcoder1979

Hi I am using KeyStone 5. I want to debug my index.js file that loads keystone in AWS Cloud9 ide. I have tried everything:

cross-env NODE_ENV=development DISABLE_LOGGING=true keystone dev --inspect

and
cross-env NODE_ENV=development DISABLE_LOGGING=true keystone dev --debug--brk

and neither seem to work. I want to step into my own code to debug it

Álvaro
@alvaaz
Hello, anyone with experience in AWS and PM2 with KeystoneJs
Captura de Pantalla 2020-03-03 a la(s) 17.05.50.png
Álvaro
@alvaaz
Hi, How can I create relationships between models? When I create a member with a departments, these departments have no relationship with the member.
Raúl R Pearson
@raulrpearson
@alvaaz , did you implement the relationship as a back reference? https://www.keystonejs.com/guides/schema#relationship-back-references
Álvaro
@alvaaz
@raulrpearson I solved it, I needed to specify the field relation in the twice model
Now
members: {
   type: Relationship,
   ref: "Member.department",
   many: true
}
department: {
   type: Relationship,
   ref: "Department.members"
}
Before
members: {
   type: Relationship,
   ref: "Member",
   many: true
}
department: {
   type: Relationship,
   ref: "Department"
}
Raúl R Pearson
@raulrpearson
Good!
Raúl R Pearson
@raulrpearson

Does anyone have any recommendations on setting up sessionStore in production using Postgres as a store? I'm trying to deploy on Heroku and I can't find any up to date (KeystoneJS v5) recommendations on this.

The farthest I've got---after trying several approaches---is to use connect-session-sequelize, but I get:

SequelizeDatabaseError: relation "Session" does not exist

The documentation for connect-session-sequelize mentions:

If you want SequelizeStore to create/sync the database table for you, you can call sync() against an instance of SequelizeStore

But I'm not sure where I'd be able to do that within my KeystoneJS code.

Eliza D
@elizad
hi guys
what I need to have on my centos server to be able to run Keystone on it ?
Eliza D
@elizad
??? appreciate any suggestion
Rayner De Los Santos F.
@raydf
Hi everyone, what kind of search functionality does keystone have?
something like full text search and integration with something like elasticsearch
Navdeep Singh
@navdeepsingh
Hello
Screen Shot 2020-03-24 at 8.31.41 PM.png
while accessing http://localhost:3000/admin
Jatto Abdulqahhar
@jattoabdul
I need help using static assets and static files in keystone-nuxt-app. I am trying to use style-resource and scss but I am getting this error.
This relative module was not found:
* ../src/assets/scss/main.scss in ./dist/App.js
Jatto Abdulqahhar
@jattoabdul
@jattoabdul I figured it out. I just needed to run yarn add -D sass-loader node-sass sass-resources-loader
Vin S
@qroups.q_gitlab
For postgres KnexListAdapter how to I pass the tableName parameter. I am referring to the PR keystonejs/keystone#1903
I have tried the following and I get the error relation "public.user" does not exist
const users = {
    adapterConfig: {
        tableName: 'users'
    },
    fields: {
        email: {
            type: Text
        },
    },
};

keystone.createList('user', users)
rdlsf-omg
@rdlsf-omg
Hi everyone
Have you seen this kind of error:
/node_modules/@keystonejs/utils/dist/utils.cjs.dev.js:48:21
Cannot read property 'find' of undefined
I'm trying the getting started tutorial related to Todo List
Raúl R Pearson
@raulrpearson
@rdlsf-omg and everyone, https://community.keystonejs.com/ has somewhat better traffic than this Gitter. You might want to check that out if you can't get the help you need in this channel.
meshek2015
@meshek2015

Hi team, I tried to create the todo app using the npm init keystone-app my-app and selected postgresl… Getting the issue Connecting to database
{ Error: Cannot read property 'find' of undefined… So modified the index.js with const PROJECT_NAME = "keystonetodo";

const options={
client: 'postgres',
connection: 'postgres://postgres:psssword@localhost:5432/keystonetodo'
}
const keystone = new Keystone({
name: PROJECT_NAME,
adapter: new Adapter(options),
}); and when i run npm run dev and still getting the issue

jpbcoder1979
@jpbcoder1979
does anyone know how to set the signin page logo in the latest version of KeystonJs 5.. I want to replace the default logo with my own
Arpit anand
@hustle.fit_gitlab
image.png
Can someone told me, how to add default value these seems to not working
Thanks in advance.
Brandon Caruana
@caruana
Hi All
I'm exploring the new version of keystone (v5)

I'm trying to add custom pages to my PoC and I have the following code:

new AdminUIApp({ name: PROJECT_NAME, enableDefaultRoute: true, authStrategy, pages: require.resolve('./admin/pages.js') }),

export default { pages: () => [ { label: 'Insights', children: [ { listKey: 'article' }, { listKey: 'articleCategory', label: 'Categories' }, ], }, ] };

every time I login to the admin I just get a blank screen. Any ideas?
Luis Morales
@luismoralescondor
Hi people,
I am newbie in keyston.js and i trying to create a List with a field with nested object like this
{ fields: { nested: { field1: { type: Text }, field2: Text } } }
can some one tell me how can i do it?
Temkit Sidali
@Temkit
hi everbody, i have a nextjs wrbsite with keystoneJS, a user list with PasswordAuthStrategy, i use the GraphQL mutation signin in my nextjs website, my question is, how to keep my session ?
leobar 37
@leobar37
hello
Andrey Petrov
@AndrPetrov
hi! is there any way to override a click behaviour on a default list?
Mustafa Magdy
@mustafamagdy
Hello guys,
I have a problem in the admin app, when using CalendarDay field, I receive this error
node_modules/@keystonejs/fields/types/CalendarDay/views/Field/dist/fields.esm.js
Module not found: Error: Can't resolve 'react-day-picker/dist/style.css
Jennifer Eberlei
@jennifer.eberlei_gitlab
hello
3 replies
I just read about the cookie session in production apps but i cant find a place to store it
I was looking over the documentation but couldsnt find anything
Jennifer Eberlei
@jennifer.eberlei_gitlab
hi there, i have downloaded my keystone repository to a new machine and i am getting a lot of errors, i fixed most of them but right now whenever i try to run yarn build it is stuck forever in the process of 'Exporting keystone build to dist'
when I take a peak into the dist directory I am basically in /dist/admin/secure/ and there is only an index.html and a js folder with tons of js files