Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
  • Dec 01 2020 14:42
    bbqaaq opened #5000
  • Nov 16 2020 09:19
    LocalCiggyShop commented #3994
  • Nov 12 2020 13:10
    sambhav2612 commented #4989
  • Nov 08 2020 14:19
    parse-hardik edited #4999
dastan-akhmetov-btsdigitalkz
@dastan-akhmetov-btsdigitalkz
Has anyone faced this problem?
at require (internal/module.js:11:18)
    at Object.<anonymous> (/app/src/keystone.js:4:18)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
2019-12-24T13:48:47: PM2 log: App name:some-app id:0 disconnected
2019-12-24T13:48:47: PM2 log: App [some-app:0] exited with code [0] via signal [SIGINT]
2019-12-24T13:48:47: PM2 log: App [some-app:0] starting in -cluster mode-
2019-12-24T13:48:47: PM2 log: App [some-app:0] online
SyntaxError: Error parsing /app/node_modules/keystone/package.json: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at readPackage (module.js:126:52)
    at tryPackage (module.js:136:13)
    at Function.Module._findPath (module.js:218:20)
    at Function.Module._resolveFilename (module.js:546:25)
    at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:51:29)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/app/src/keystone.js:4:18)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
2019-12-24T13:48:47: PM2 log: App name:some-app id:0 disconnected
2019-12-24T13:48:47: PM2 log: App [some-app:0] exited with code [0] via signal [SIGINT]
2019-12-24T13:48:47: PM2 log: Script /app/src/keystone.js had too many unstable restarts (16). Stopped. “errored”
2019-12-24T13:48:50: PM2 log: 0 application online, retry = 3
2019-12-24T13:48:52: PM2 log: 0 application online, retry = 2
2019-12-24T13:48:54: PM2 log: 0 application online, retry = 1
2019-12-24T13:48:56: PM2 log: 0 application online, retry = 0
2019-12-24T13:48:56: PM2 log: [Watch] Stop watching some-app
2019-12-24T13:48:56: PM2 log: Stopping app:some-app id:0
2019-12-24T13:48:56: PM2 error: app=some-app id=0 does not have a pid
2019-12-24T13:48:56: PM2 log: PM2 successfully stopped
Jack Spektor
@JackTheHack
Hi guys, is it possible to customize the admin UI except adding custom fields?
Can I make custom filters and admin pages?
Arrrrny
@arrrrny
I want to have custom view on the admin, 2 product lists side by side. How can I add lists to a custom view?
Rod
@gtagle
Hello Keystone experts :) I am trying to figure out if KeystoneJS has any particular way of dealing with publishing/approval workflows. (For example, adding an item to a list what is set to a particular status of "Draft" until it is finished and then set to "For approval") is this something that KeystoneJS treats in a particular way or would I have to create this List of statuses and have create a relationship between the statuses and the List. Thanks beforehand.
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