0

I'm learning Javascript and my setup is Indium + Tide, The setup works well and I can follow all the exercises in the book. But when I try to use the Indium scratch buffer M-x indium-scratch It opens the TIDE mode and JavaScritp-IDE. I try to disable this mode but nothing happens. and when I try to evaluate inside the indium scratch buffer, I get:

Error processing request. Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null
    at Object.normalizeSlashes (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:15356:21)
    at Object.resolvePath (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:15713:95)
    at Object.normalizePath (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:15464:19)
    at Object.toNormalizedPath (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:124601:23)
    at IOSession.Session.getFileAndLanguageServiceForSyntacticOperation (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:130926:35)
    at IOSession.Session.getNavigationTree (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:131288:31)
    at Session.handlers.ts.createMapFromTemplate._a.<computed> (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:130148:61)
    at /Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:131621:88
    at IOSession.Session.executeWithRequestId (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:131612:28)
    at IOSession.Session.executeCommand (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:131621:33)
    at IOSession.Session.onMessage (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:131643:35)
    at Interface.<anonymous> (/Users/toni/.emacs.d/.cask/27.0/elpa/tide-20190706.2322/tsserver/tsserver.js:132934:27)
    at Interface.emit (events.js:200:13)
    at Interface._onLine (readline.js:314:10)
    at Interface._normalWrite (readline.js:459:12)
    at Socket.ondata (readline.js:170:10)
    at Socket.emit (events.js:200:13)
    at addChunk (_stream_readable.js:294:12)
    at readableAddChunk (_stream_readable.js:275:11)
    at Socket.Readable.push (_stream_readable.js:210:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:166:17)
user-error: Minibuffer window is not active

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.