https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# prisma-whats-new
  • f

    Fitch

    02/20/2018, 7:19 PM
    try making sure your pem key is sed properly? https://github.com/graphcool/prisma/issues/1776 .. otherwise .. in the words of ripley "nuke it from orbit.."
  • p

    picosam

    02/20/2018, 7:20 PM
    lol — how, apart from stopping and deleting the existing docker containers and starting over? (by the way, this is on my local machine, not on digital ocean!)
  • p

    picosam

    02/20/2018, 7:24 PM
    Yup; it just keeps restarting with the same error, even after
    prisma local nuke
    and
    prisma local upgrade
  • p

    picosam

    02/20/2018, 9:39 PM
    So, I tried on another computer with
    prisma@beta
    , and now I get this:
    Copy code
    Listening for transport dt_socket at address: 8000
    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.NoClassDefFoundError: akka/stream/ActorMaterializer
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
    Caused by: java.lang.ClassNotFoundException: akka.stream.ActorMaterializer
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 7 more
    The problem is I’m not sure if there’s something wrong I’m suddenly doing or if I should report this as an issue… it was all working a couple of days ago!
    m
    • 2
    • 3
  • f

    Fitch

    02/20/2018, 10:22 PM
    #mylifeasadevelopersummedup ^^
    😄 2
  • b

    beb

    02/20/2018, 10:26 PM
    The lifelong question. Did I break it? Or was it already broken?
    🤔 1
    👍 1
  • s

    senorcodecat

    02/20/2018, 11:07 PM
    . . . or both?
  • a

    agartha

    02/20/2018, 11:28 PM
    The answer is 42
    ✅ 1
  • b

    beb

    02/20/2018, 11:30 PM
    set.seed(42) # !!!
  • p

    picosam

    02/20/2018, 11:36 PM
    I didn’t know my silly issue would trigger such a philosophical response :P I have the impression it’ll all turn out to be a question of ports in the end!
  • r

    rem

    02/20/2018, 11:39 PM
    I'm getting "func is not a function" on a subscription function I've created. Is there any way to debug these functions (exact same code runs locally, even in node 4)
  • r

    rem

    02/20/2018, 11:43 PM
    never mind. Found it!
  • n

    narzerus

    02/20/2018, 11:46 PM
    Hey guys, got some questions: 1- Latest prisma version fails to me, throws some error about more than one graphql instance. 2- With prisma are we forced to deploy to their hosting service or we can use anything? 3- Is prisma agnostic to the front-end? Cheers!
  • h

    harrisrobin

    02/20/2018, 11:51 PM
    @narzerus 1. this issue is documented. look here or on github and you'll find the answer. 2. No you don't have to deploy to their service, you can use anything. 3. Yes, for example i use react + apollo-client on the front-end
  • n

    narzerus

    02/20/2018, 11:53 PM
    @harrisrobin 1. I saw only one guy saying to rollback to previous version which didn’t work for me, any working version you’d suggest? 2. Awesome! 3. hmm. I guess you can’t use Relay though right? Since it requires the server to comply to some standard/. Thanks for the reply
  • h

    harrisrobin

    02/20/2018, 11:55 PM
    @narzerus 1. yes, try this:
    Copy code
    json
      "dependencies": {
        "bcryptjs": "^2.4.3",
        "graphql-yoga": "1.2.0",
        "jsonwebtoken": "^8.1.0",
        "prisma-binding": "1.3.8"
      },
     "devDependencies": {
        "@types/bcryptjs": "^2.4.1",
        "dotenv": "^4.0.0",
        "graphql-cli": "2.12.4",
        "nodemon": "^1.14.11",
        "npm-run-all": "4.1.2",
        "prisma-cli": "1.0.0",
        "ts-node": "4.1.0",
        "typescript": "2.6.2"
      },
    3. yes you can use Relay i believe. I've never tried it but i don't see why not, i believe it is relay compliant as graphcool supports relay and eventually Prisma will power that. Not to mention that when you look at the generated code, it seems to have the edges/nodes that relay needs (although im not super familiar with Relay)
  • n

    narzerus

    02/20/2018, 11:56 PM
    Awesome. So we are supposed to rollback the deps in the project instead of the global instance of prisma then?
  • h

    harrisrobin

    02/20/2018, 11:57 PM
    i have the latest global prisma install but i rolled back the deps and it works for me
  • s

    senorcodecat

    02/20/2018, 11:58 PM
    I think I could've saved 2 months of work by not going with Graphql lol
  • n

    narzerus

    02/21/2018, 12:01 AM
    @senorcodecat because learning is an investment bro
    💯 1
  • n

    narzerus

    02/21/2018, 12:01 AM
    😜
  • s

    senorcodecat

    02/21/2018, 12:13 AM
    Truth
  • n

    narzerus

    02/21/2018, 12:46 AM
    Urgh, rolledback but cant’ get this to work. Now getting:
    Copy code
    [Network error]: FetchError: request to <http://localhost:4466/prisma-test/dev> failed, reason: connect ECONNREFUSED 127.0.0.1:4466
  • v

    veksen

    02/21/2018, 1:04 AM
    Hey guys, we have a Prisma cluster that ended up somehow corrupted, it was stuck on "applying changes" when running
    yarn prisma deploy
    . The only way we've found was to completely create a new project (using
    prisma init
    ), and then use the provided endpoint. Is there a simpler way? Note we're still using the public prisma cluster (us1 if that matters)
    h
    • 2
    • 2
  • a

    aeblin

    02/21/2018, 1:07 AM
    Anyone currently using graphql-yoga and getting a ton of
    incorrect peer dependency
    warnings?
  • g

    Graham Ballantyne

    02/21/2018, 3:34 AM
    I'm trying to figure out how to use both
    graphql-import
    and
    graphql-relay-tools
    together. I have a
    Schema.graphql
    file that imports all my types, etc. One of those types declares a field of
    PageInfo
    type, which is available in
    graphql-relay-tools
    . However, when I use
    importSchema()
    to import
    Schema.graphql
    , it throws because
    PageInfo
    isn't defined anywhere.
  • d

    dohomi

    02/21/2018, 5:03 AM
    does anyone successful created a server side subscription? I’m trying to do this but the subscription is displayed in my graphcool backend but never invoked
  • d

    dohomi

    02/21/2018, 5:17 AM
    ah found it.. forgot a return statement inside of the function
  • t

    terion

    02/21/2018, 10:24 AM
    Ladies and gentlemen, @nilan and others. I try to get an answer for a simple question for 3 weeks. On forum (https://www.graph.cool/forum/t/how-to-run-generators-migrators-manually/2405) and in github issues (https://github.com/graphcool/prisma/issues/1808, https://github.com/graphcool/prisma/issues/1948). The question is: how to run prisma migrations, seeds and other needed updates when wiping up docker containers with prisma-server manually (that is partially covered by docs here https://www.prismagraphql.com/docs/reference/clusters/docker-aira9zama5). Via console or
    prisma-cli-engine
    . Is this a such hard question to answer? It is very important and should be covered in docs section about manual deployment to docker. Please, somebody, help with this. My entire project holds because of this for 3 weeks
    d
    • 2
    • 1
  • q

    qsys

    02/21/2018, 10:43 AM
    I'm changing my db scheme in graphcool, but I can't seem to force update it:
    Copy code
    There are issues with the new service definition:
    
      Global
        ✖ No field with id 'cjdt9qfw30a9c0184logsskob'
    n
    • 2
    • 13
1...581582583...637Latest