Skip to content

Instantly share code, notes, and snippets.

@luigy
Created January 26, 2014 18:25
Show Gist options
  • Save luigy/8637084 to your computer and use it in GitHub Desktop.
Save luigy/8637084 to your computer and use it in GitHub Desktop.
tern errors
error in process sentinel: tern-req-finished: Invalid function: (:error (error connection-failed "failed with code 22
" :host "127.0.0.1" :service 62226) . #[514 "rÁqˆƒ'@A@Å=ƒ'¢„'ÂÆ ˆ ÇÈâ\"²‚+À\")‡" [#[514 " ÂW…C„7≃2‰@ÆžAǚƒ+rÈÉÊžA
\"!qˆË)A¶‚‚ ˆÀ!‡ÁÌ=?…CÍÎA\"‡" [#[257 "Â!‰…
ÀBà ‡" [50 tern-last-argument-hints tern-parse-function-type tern-show-argument-hints] 4 "
(fn DATA)"] :silent 2 ((((type . "full") (text . #("var React = require('react');
var test = require('
...
module.exports = React.createClass({
getInitialState: function () {
return { test: this.props.test };
},
render: function () {
var title = this.props.title;
return
React.DOM.div({ className: 'pure-g' },
React.DOM.div({ className: 'header' },
React.DOM.h1(null, title)));
}
});
" 0 3 (fontified t font-lock-face font-lock-keyword-face) 3 4 (fontified t) 4 9 (fontified t font-lock-face font-lock-variable-name-face) 9 12 (fontified t) 12 19 (fontified t font-lock-face js2-function-call help-echo "Undeclared variable or function 'require'" point-entered js2-echo-error) 19 20 (fontified t) 20 27 (fontified t font-lock-face font-lock-string-face) 27 30 (fontified t) 30 33 (fontified t font-lock-face font-lock-keyword-face) 33 34 (fontified t) 34 38 (fontified t font-lock-face font-lock-variable-name-face) 38 42 (fontified t) 42 49 (fontified t font-lock-face js2-function-call help-echo "Undeclared variable or function 'require'" point-entered js2-echo-error) 49 50 (fontified t) 50 51 (fontified t font-lock-face font-lock-string-face help-echo "unterminated string literal" point-entered js2-echo-error) 51 52 (fontified t) 52 53 (fontified t) 53 59 (fontified t help-echo "missing ; after statement" point-entered js2-echo-error) 59 76 (fontified t) 76 87 (fontified t font-lock-face js2-function-call) 87 93 (fontified t) 93 108 (fontified t font-lock-face font-lock-function-name-face) 108 110 (fontified t) 110 118 (fontified t font-lock-face font-lock-keyword-face) 118 128 (fontified t) 128 134 (fontified t font-lock-face font-lock-keyword-face) 134 137 (fontified t) 137 141 (fontified t font-lock-face font-lock-variable-name-face) 141 143 (fontified t) 143 147 (fontified t font-lock-face font-lock-builtin-face) 147 170 (fontified t) 170 176 (fontified t font-lock-face font-lock-function-name-face) 176 178 (fontified t) 178 186 (fontified t font-lock-face font-lock-keyword-face) 186 195 (fontified t) 195 198 (fontified t font-lock-face font-lock-keyword-face) 198 199 (fontified t) 199 204 (fontified t font-lock-face font-lock-variable-name-face) 204 207 (fontified t) 207 211 (fontified t font-lock-face font-lock-builtin-face) 211 229 (fontified t) 229 235 (fontified t font-lock-face font-lock-keyword-face help-echo "missing ; after statement" point-entered js2-echo-error) 235 252 (fontified t) 252 255 (fontified t font-lock-face js2-function-call) 255 258 (fontified t) 258 267 (fontified t font-lock-face font-lock-variable-name-face) 267 269 (fontified t) 269 277 (fontified t font-lock-face font-lock-string-face) 277 299 (fontified t) 299 302 (fontified t font-lock-face js2-function-call) 302 305 (fontified t) 305 314 (fontified t font-lock-face font-lock-variable-name-face) 314 316 (fontified t) 316 324 (fontified t font-lock-face font-lock-string-face) 324 348 (fontified t) 348 350 (fontified t font-lock-face js2-function-call) 350 351 (fontified t) 351 355 (fontified t font-lock-face font-lock-constant-face) 355 373 (fontified t) 373 374 (fontified t) 374 376 (fontified t))) (name . "index.js"))]) (query (end . 49) (file . "index.js") (type . "type") (preferFunction . t))) (#1) tern-req nil] 6 "
(fn PORT ERR)"]) tern-known-port connection-failed t nil tern-find-server] 6 "
(fn ERR DATA)"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment