-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not start up with VSCode and no vim commands work #3753
Comments
This appears to be a regression in 1.8.0. I am also able to reproduce with VS Code 1.33.1 on Linux, and downgrading the extension to 1.7.1 fixes the issue for me. (For anyone using this workaround, be sure to set |
As an FYI, it appears to still be an issue in 1.8.1. |
More details here: I ran the command Error: Cannot find module 'winston-transport' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:584:15) at Function.Module._load (internal/modules/cjs/loader.js:510:25) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at n (/usr/share/code/resources/app/out/vs/loader.js:15:488) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/util/logger.js:11:25) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/util/logger.js:84:3) at Module.t._initNodeRequire.o._compile (/usr/share/code/resources/app/out/vs/loader.js:15:713) at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at n (/usr/share/code/resources/app/out/vs/loader.js:15:488) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/mode/modes.js:3:18) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/mode/modes.js:141:3) at Module.t._initNodeRequire.o._compile (/usr/share/code/resources/app/out/vs/loader.js:15:713) at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at n (/usr/share/code/resources/app/out/vs/loader.js:15:488) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/common/motion/position.js:6:17) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/common/motion/position.js:1064:3) at Module.t._initNodeRequire.o._compile (/usr/share/code/resources/app/out/vs/loader.js:15:713) at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at n (/usr/share/code/resources/app/out/vs/loader.js:15:488) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/actions/operator.js:20:20) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/actions/operator.js:1014:3) at Module.t._initNodeRequire.o._compile (/usr/share/code/resources/app/out/vs/loader.js:15:713) at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at n (/usr/share/code/resources/app/out/vs/loader.js:15:488) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/actions/include-all.js:4:1) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/src/actions/include-all.js:19:3) at Module.t._initNodeRequire.o._compile (/usr/share/code/resources/app/out/vs/loader.js:15:713) at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at n (/usr/share/code/resources/app/out/vs/loader.js:15:488) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/extension.js:16:1) at Object. (/home/rlight2/.vscode/extensions/vscodevim.vim-1.8.2/out/extension.js:393:3) at Module.t._initNodeRequire.o._compile (/usr/share/code/resources/app/out/vs/loader.js:15:713) at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10) at Module.load (internal/modules/cjs/loader.js:602:32) at tryModuleLoad (internal/modules/cjs/loader.js:541:12) at Function.Module._load (internal/modules/cjs/loader.js:533:3) at Function.define._installInterceptor.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:491:111) at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:760:742) at Function.t.getExtensionPathIndex.then.i._load (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:685:176) at Module.require (internal/modules/cjs/loader.js:640:17) at require (internal/modules/cjs/helpers.js:20:18) at Function.i [as __$__nodeRequire] (/usr/share/code/resources/app/out/vs/loader.js:31:381) at /usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:747:60 at D._doActivateExtension (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:747:168) at D._activateExtension (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:746:6) at D. (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:742:827) at Generator.next () at n (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:13:621) at new Promise () at n (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:13:398) at Object.actualActivateExtension (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:742:529) at p._activateExtension (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:479:561) at define._activateExtensions.r.length.Promise.all.s.map.e (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:479:245) at Array.map () at p._activateExtensions (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:479:233) at p.activateByEvent (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:477:126) at D._activateByEvent (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:744:680) at D._handleEagerExtensions (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:748:717) at define._startExtensionHost._readyToStartExtensionHost.wait.then.then (/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:752:98) I followed these steps (same as detailed on #3473) and was able to resolve the issue:
|
Then how to specify the version of vim when installing the vim extension in VScode? I searched for "vim" and only saw Vim 1.8.2. |
Anyone still seeing this issue? |
i'm ok on 1.9.0 |
I just experienced this bug when upgrading to version 1.10.0. Deleting the extension folder as @zombiezen said allowed me to get it running again. |
Vscodevim stopped working suddenly. Tried deleting extension folders. nothing works |
Reinstalled previous version 1.11.3. Now its working.... |
installed vim v1.12.0 and it did not work, back to v1.11.3, it works, thanks |
Reinstalled previous version 1.11.3 works. |
How do you install an older version of the extension? |
It works now with old version.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Jem Pimentel <[email protected]>
Sent: Monday, December 9, 2019 9:01:08 AM
To: VSCodeVim/Vim <[email protected]>
Cc: JiangYu <[email protected]>; Comment <[email protected]>
Subject: Re: [VSCodeVim/Vim] Does not start up with VSCode and no vim commands work (#3753)
How do you install an older version of the extension?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#3753?email_source=notifications&email_token=ABTHV347GOJ3GTWZD5NXLRTQXX3MJA5CNFSM4HME56Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIGTXI#issuecomment-563112413>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABTHV3ZKHBNFFWYPFEUTYQTQXX3MJANCNFSM4HME56YQ>.
|
v1.12.0 not work, reinstall with v1.11.3, works, thank you~ |
Yepp suddenly stopped working when it got auto updated to |
Suddenly stopped working for me as well. |
Stopped working 1h ago because of v1.12.0, reverted back to v1.11.3 |
Stopped working when updated to v1.12, reverted back to v1.11.3 and its working fine again! |
I think something is wrong with |
not work for me with v1.40.2 |
Same here. Reinstalled previous version 1.11.3 works. |
Same story with me: 1.12.1 not working (suddenly), revert to 1.11.3 works fine. Thanks to everyone who pointed this out :-) |
New version !!!! 1.12.2 |
1.12.4 appears to be broken |
Same story with me: 1.12.4 not working, switched back to 1.12.3 => works fine. |
For me none of the previous versions are working. I deleted the extension folder and I even went back till 1.8.0 but its still not working. |
Consider filing a new issue, I think closed ones rarely get any attention. |
I had this same issue, but when I went to the developer console, it told me
I went to the extensions settings, and defined the path, which I found from the terminal by running
I put it in, restarted VS Code and it worked! |
it does work for me |
This happened with me on a fresh install of my vscode plugins on a new machine. It installed |
Just for record Vim extension does not work if Overtype extension is also installed. Disabling Overtype extension fixed it. |
This extension seemed to be the culprit for me: |
Still a problem on Linux (vscodevim 1.22.2, code 1.66.0). No errors/messages in the developer console, just silently stops working. Restarting VS Code seems to fix the issue, but the extension eventually stops working again. |
Happening on v1.24.3 and OSX |
It was the overtype extension for me as well. |
Issue Type: Bug
Describe the bug
VSCode usually loads the extension with no problem. However, today i opened up VSCode and vim stopped working. when I try to use the command palette to switch to vim mode, i get
command 'toggleVim' not found
.To Reproduce
Steps to reproduce the behavior:
Extension version: 1.8.0
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 18.5.0
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: