onivim/oni

Many errors and warnings in devtools console

Open

#1261 opened on Jan 9, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (11,389 stars) (336 forks)batch import
bughelp wantedinsider

Description

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)

Contributor guide