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

    dpetrick

    10/22/2017, 3:23 PM
    @tfiwm Can you PM me the details, Please? Full stacktrace of the localfaas and your function code would be nice.
  • r

    rein

    10/22/2017, 3:29 PM
    is there any update on transactions when working with multiple mutations?
  • m

    Maslov

    10/22/2017, 4:42 PM
    Does it possible to put variable in orderBy
  • m

    Maslov

    10/22/2017, 4:43 PM
    like orderBy: $orderBy
  • r

    raul

    10/22/2017, 5:33 PM
    is possible import json data to graphcool framework? I’m working local with recently beta
  • d

    daniele

    10/22/2017, 7:42 PM
    hi all I'm trying to setup my docker with graphcool but I receive this weird error when I try to deploy:
    d
    • 2
    • 2
  • d

    daniele

    10/22/2017, 7:42 PM
    Copy code
    BS-DZurico:~ danielezurico$ graphcool deploy
    ? Please choose the cluster you want to deploy to 
    
    local
    
    ? Please choose the target name dev
    Creating service iag-mgmt locally in cluster local... βœ”
    Bundling functions... β£»
    
    <--- Last few GCs --->
    
    [79774:0x103000c00]    87303 ms: Mark-sweep 1315.8 (1405.2) -> 1315.8 (1407.2) MB, 2276.3 / 4.4 ms  allocation failure GC in old space requested
    [79774:0x103000c00]    89712 ms: Mark-sweep 1315.8 (1407.2) -> 1315.8 (1370.2) MB, 2408.1 / 4.1 ms  last resort gc 
    [79774:0x103000c00]    92591 ms: Mark-sweep 1315.8 (1370.2) -> 1315.7 (1370.2) MB, 2878.9 / 4.5 ms  last resort gc 
    
    
    <--- JS stacktrace --->
    
    ==== JS stack trace =========================================
    
    Security context: 0x1ffde04c0d39 <JS Object>
        1: inflight [/Users/danielezurico/.nvm/versions/node/v7.5.0/lib/node_modules/graphcool/node_modules/inflight/inflight.js:~7] [pc=0x299f4c76c39a](this=0x25be99b906d1 <JS Global Object>,key=0x18c47cb40321 <String[113]\: readdir\x00/Users/danielezurico/Documents/blackswan/communication-channel/node_modules/content-type-parser/lib\x00false>,cb=0x18c47cb40269 <JS Function f (SharedFunctionInfo 0...
    
    FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
     1: node::Abort() [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     4: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     5: v8::internal::HashTable<v8::internal::NameDictionary, v8::internal::NameDictionaryShape, v8::internal::Handle<v8::internal::Name> >::EnsureCapacity(v8::internal::Handle<v8::internal::NameDictionary>, int, v8::internal::Handle<v8::internal::Name>, v8::internal::PretenureFlag) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     6: v8::internal::Dictionary<v8::internal::NameDictionary, v8::internal::NameDictionaryShape, v8::internal::Handle<v8::internal::Name> >::Add(v8::internal::Handle<v8::internal::NameDictionary>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyDetails, int*) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     7: v8::internal::LookupIterator::ApplyTransitionToDataProperty(v8::internal::Handle<v8::internal::JSObject>) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     8: v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow, v8::internal::Object::StoreFromKeyed) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
     9: v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
    10: v8::internal::Runtime_SetProperty(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/danielezurico/.nvm/versions/node/v7.5.0/bin/node]
    11: 0x299f4bd063a7
    Abort trap: 6
  • d

    daniele

    10/22/2017, 7:43 PM
    my docker has 2 CPUs and 2 GB
  • d

    daniele

    10/22/2017, 7:43 PM
    JavaScript heap out of memory
    it looks like is not enough memory?
  • d

    daniele

    10/22/2017, 7:45 PM
    I'm trying now with 3gb to see what happen
  • d

    daniele

    10/22/2017, 7:46 PM
    nope ... same problem
  • k

    Kat

    10/22/2017, 7:50 PM
    Hey this might be a dumb question but.. im trying to run the hello.js example for the graphcool framework.. but when I try to run the query in the playground it just says hello: null and I get an error something along the lines of "Cannot find module '/var/task/src\\hi-lambda'"" any ideas πŸ˜„
  • k

    Kat

    10/22/2017, 7:50 PM
    it does say it's a webhook... when I lookup the function in my functions.. I want it to be an inline function do I not?
    n
    • 2
    • 3
  • d

    daniele

    10/22/2017, 7:56 PM
    hey @nilan I finally started to created the docker image but unfortuately is not working 😞
  • d

    daniele

    10/22/2017, 7:56 PM
    I open a github issue:
    <https://github.com/graphcool/graphcool/issues/999>
  • d

    daniele

    10/22/2017, 7:57 PM
    do you have any idea?
  • p

    pcooney10

    10/22/2017, 8:04 PM
    Hey everyone, I am trying to figure out the best way to model the concept of β€œranks” into a relation. I started a discussion on the forums if anyone has interest in helping out! https://www.graph.cool/forum/t/best-way-to-include-order-or-rank-in-relations/1340
  • k

    Kat

    10/22/2017, 8:20 PM
    so when will the package be updated so I can test out functions n stuff... πŸ˜› My functions are just returning null 😞
  • t

    tfiwm

    10/22/2017, 8:54 PM
    if i work with more than 1 person on a project how is the best way to handle the .graphcoolrc ? because if i commit the file the other developer gets an error on graphcool deploy -> local env ERROR no project with id ……
    d
    • 2
    • 6
  • k

    Kat

    10/22/2017, 9:03 PM
    found the issue someone else is having .. I think it still exists.. i'm getting the same issue https://github.com/graphcool/graphcool/issues/885
  • k

    Kat

    10/22/2017, 9:04 PM
    don't think its related to the issue u replied with
  • k

    Kat

    10/22/2017, 9:04 PM
    im on Windows btw..not Mac
  • k

    Kat

    10/22/2017, 9:04 PM
    seems to not be an issue for Linux/Mac users
    a
    n
    • 3
    • 3
  • d

    daniele

    10/22/2017, 9:57 PM
    @nilan I think we do faster here instead of replying on github
  • k

    Kat

    10/22/2017, 10:11 PM
    yes very quick responses here.. thanks Nilan πŸ™‚
  • k

    Kat

    10/22/2017, 10:11 PM
    I see u replying everywhere to people haha.. great job πŸ˜„
  • k

    Kat

    10/22/2017, 10:12 PM
    they better be paying u the big bucks 😁
    🦜 1
    πŸ€‘ 1
    πŸ’Έ 1
  • k

    Kat

    10/22/2017, 10:13 PM
    I was using the web UI to do all my work haha.. until I discovered the cli/framework that u guys provide... it's super awesome (just wish this null thing wasn't happening on windows) πŸ˜›
    a
    • 2
    • 9
  • n

    nilan

    10/22/2017, 10:26 PM
    @daniele @Kat Slack is great for quick discussion but as soon as some kind of context is required it gets unmanageable extremely quickly. That's why I prefer discussions on Github and the Forum πŸ™‚
  • k

    Kat

    10/22/2017, 10:28 PM
    That makes sense πŸ™‚
1...386387388...637Latest