onivim/oni

Many errors and warnings in devtools console

開放

#1,261 建立於 2018年1月9日

 (2 則留言) (0 個反應) (0 位負責人)TypeScript (297 個分叉)batch import
bughelp wantedinsider

倉庫指標

星標
 (11,246 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I'm seeing many errors and warnings in the console while typing and jumping around files. Might be something in my config?

(these errors are a pain to type. for some reason I can't copy from the console directly 😢 )

Version: 0.2.20

Oni Config

module.exports = {
   activate,
   deactivate,
  "editor.maximizeScreenOnStart": true,
  "oni.useDefaultConfig": false,
  "oni.loadInitVim": true,
  "ui.fontSmoothing": "subpixel-antialiased",
  "ui.colorscheme": "molokai",
  "editor.fontFamily": "Hack",
  "ui.fontFamily": "Hack",
  "language.javascript.languageServer.argument": ["--no-port-file"]
}

Errors

Warning: Each child in an array or iterator should have a unique "key" prop.

Check the render method of `s`. See https://fb.me/react-warning-keys for more information
      in div  (created by s)
Warning: Encountered two children with the same key, `2red`.
Keys should be unique so that components maintain their
identity across updates. Non-unique keys may cause children to be 
duplicated and/or omitted - the behavior is unsupported and 
could change in a future version
   in div (created by styled.div)

Warnings

Error: No content available.
  at TypeScriptServerHost._parseResponse (TypeScriptServerHost.ts:292)
  at Interface.<anonymous> (TypeScriptServerHost.ts:75)
  at emitOne (events.js:115)

貢獻者指南