You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I open a .vue file, I get the following error in the *Messages* tab:
Error processing request. No Project.
Error: No Project.
at Object.ThrowNoProject (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:137981:23)
at ScriptInfo.getDefaultProject (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:138751:46)
at ProjectService.doEnsureDefaultProjectForFile (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:141451:48)
at ProjectService.ensureDefaultProjectForFile (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:141446:75)
at IOSession.Session.getFileAndProjectWorker (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:145272:87)
at IOSession.Session.getProjectInfoWorker (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:145124:36)
at IOSession.Session.getProjectInfo (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:145121:29)
at Session.handlers.ts.createMapFromTemplate._a.<computed> (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:144500:61)
at /Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:146003:88
at IOSession.Session.executeWithRequestId (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:145994:28)
at IOSession.Session.executeCommand (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:146003:33)
at IOSession.Session.onMessage (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:146027:35)
at Interface.<anonymous> (/Users/fredrikmeyer/code/work/Cloud/frontend/node_modules/typescript/lib/tsserver.js:147342:27)
at Interface.emit (events.js:314:20)
at Interface._onLine (readline.js:337:10)
at Interface._normalWrite (readline.js:482:12)
at Socket.ondata (readline.js:194:10)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:303:12)
at readableAddChunk (_stream_readable.js:279:9)
at Socket.Readable.push (_stream_readable.js:218:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)
But if I just manually run M-x tide-setup, everything works fine. The problem is that I have to do this for every new .vue buffer.
I'm guessing this has something to do with vue-mode being derived from mmm-mode.
There seem to be a lot of issues though, as tsserver tries to parse the whole file instead of the snippet. There was a fix #203 submitted earlier, but it doesn't seem to work anymore. Not sure it's a regression in tide or mmm mode.
Hi,
I have a problem with vue-mode + tide.
Every time I open a .vue file, I get the following error in the
*Messages*
tab:But if I just manually run
M-x tide-setup
, everything works fine. The problem is that I have to do this for every new.vue
buffer.I'm guessing this has something to do with
vue-mode
being derived frommmm-mode
.Here is my configuration:
Tide works perfect in non-Vue buffers.
I get the same error message when I do
M-x tide-verify-setup
.Relevant Version Numbers
(The list above is minimal. Make sure to include any other version numbers relevant to your report.)
Steps to Reproduce the Bug
Open any Vue buffer with the above configuration and try to do anything
tide
-related, likeM-.
.Expected Behavior
No errors.
Actual Behavior
The error message.
The text was updated successfully, but these errors were encountered: