shoutem / cli

Shoutem CLI is a tool which helps you build Shoutem extensions faster
Other
30 stars 11 forks source link

Server error on shoutem push #59

Open georgetk opened 5 years ago

georgetk commented 5 years ago

I was experimenting with Shoutem and following this link . After I added screen to the newly created extension and I tried to push, it shows server error .

shoutem last-error output

message:    null
request:
  method:   put
  redirect: follow
  headers:
    _headers:
      accept:
        - application/vnd.api+json
      content-type:
        - multipart/form-data; boundary=--------------------------939782174272655454318727
  url:      https://extensions.api.shoutem.com/v1/extensions/dev.new-extension-0.0.1
  follow:   20
  compress: true
  counter:  0
  body:
    _overheadLength:  166
    _valueLength:     0
    _valuesToMeasure:
      -
        _readableState:
          objectMode:        false
          highWaterMark:     65536
          buffer:
            head:   null
            tail:   null
            length: 0
          length:            0
          pipes:             null
          pipesCount:        0
          flowing:           true
          ended:             true
          endEmitted:        true
          reading:           false
          sync:              false
          needReadable:      false
          emittedReadable:   false
          readableListening: false
          resumeScheduled:   false
          destroyed:         true
          defaultEncoding:   utf8
          awaitDrain:        0
          readingMore:       false
          decoder:           null
          encoding:          null
        readable:       false
        domain:         null
        _events:
          data:
            - null
            - null
        _eventsCount:   3
        path:           C:\Users\user\AppData\Local\Temp\tmp-12304rciPE1g6RYFS\extension.tgz
        fd:             null
        flags:          r
        mode:           438
        end:            null
        autoClose:      true
        bytesRead:      2050
        closed:         true
    writable:         false
    readable:         true
    dataSize:         0
    maxDataSize:      2097152
    pauseStreams:     true
    _released:        true
    _streams:
      (empty array)
    _currentStream:   null
    _boundary:        --------------------------939782174272655454318727
    _events:
    _eventsCount:     0
  bodyUsed: false
  size:     0
  timeout:  0
  _raw:
    (empty array)
  _abort:   false
  protocol: https:
  hostname: extensions.api.shoutem.com
  port:     null
  path:     /v1/extensions/dev.new-extension-0.0.1
  auth:     null
body:
  errors:
    -
      status: 500
      title:  server error
response:
  url:        https://extensions.api.shoutem.com/v1/extensions/dev.new-extension-0.0.1
  status:     500
  statusText: Internal Server Error
  headers:
    _headers:
      access-control-allow-origin:
        - *
      content-type:
        - application/json; charset=utf-8
      content-length:
        - 52
      etag:
        - W/"34-R57Kz9FGflQfCWXGaCFgQQ"
      date:
        - Tue, 16 Apr 2019 10:29:52 GMT
      connection:
        - close
  ok:         false
  body:
    _readableState:
      objectMode:        false
      highWaterMark:     16384
      buffer:
        head:   null
        tail:   null
        length: 0
      length:            0
      pipes:             null
      pipesCount:        0
      flowing:           true
      ended:             true
      endEmitted:        true
      reading:           false
      sync:              false
      needReadable:      false
      emittedReadable:   false
      readableListening: false
      resumeScheduled:   false
      destroyed:         false
      defaultEncoding:   utf8
      awaitDrain:        0
      readingMore:       false
      decoder:           null
      encoding:          null
    readable:        false
    domain:          null
    _events:
    _eventsCount:    4
    _writableState:
      objectMode:           false
      highWaterMark:        16384
      finalCalled:          false
      needDrain:            false
      ending:               true
      ended:                true
      finished:             true
      destroyed:            false
      decodeStrings:        true
      defaultEncoding:      utf8
      length:               0
      writing:              false
      corked:               0
      sync:                 false
      bufferProcessing:     false
      writecb:              null
      writelen:             0
      bufferedRequest:      null
      lastBufferedRequest:  null
      pendingcb:            0
      prefinished:          true
      errorEmitted:         false
      bufferedRequestCount: 0
      corkedRequestsFree:
        next:  null
        entry: null
    writable:        false
    allowHalfOpen:   true
    _transformState:
      needTransform: false
      transforming:  false
      writecb:       null
      writechunk:    null
      writeencoding: buffer
  bodyUsed:   true
  size:       0
  timeout:    0
  _abort:     false
  _bytes:     52
statusCode: 500
eolszewski commented 5 years ago

Any updates on this?

georgetk commented 5 years ago

I think that was caused by a server down issue. It wasn't there later.