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
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz (4 x 3100)|
|GPU Status|2d_canvas: enabled
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|
|Load (avg)|2, 3, 3|
|Memory (System)|16.00GB (0.45GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
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 "extensions.autoUpdate": false to avoid 1.8.0 coming back.)
As an FYI, it appears to still be an issue in 1.8.1.
More details here: I ran the command Developer: Toogle Developer Tools and looked at the JavaScript console. I got a stack trace very similar to the one in #3473.
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.
at Object.
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.
at Object.
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.
at Object.
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.
at Object.
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.
at Object.
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.
at Object.
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.
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
Version 1.12.0
Reinstalled previous version 1.11.3. Now its working....
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.
Nothing work for the newest version that I installed 1 hour ago
How do you install an older version of the extension?
It works now with old version.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Jem Pimentel notifications@github.com
Sent: Monday, December 9, 2019 9:01:08 AM
To: VSCodeVim/Vim Vim@noreply.github.com
Cc: JiangYu phdjiangyu@outlook.com; Comment comment@noreply.github.com
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 GitHubhttps://github.com/VSCodeVim/Vim/issues/3753?email_source=notifications&email_token=ABTHV347GOJ3GTWZD5NXLRTQXX3MJA5CNFSM4HME56Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIGTXI#issuecomment-563112413, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABTHV3ZKHBNFFWYPFEUTYQTQXX3MJANCNFSM4HME56YQ.
How do you install an older version of the extension?

v1.12.0 not work, reinstall with v1.11.3, works, thank you~
Yepp suddenly stopped working when it got auto updated to v1.12.0, v1.11.3 works!
Suddenly stopped working for me as well. 1.11.3 works, 1.12.0 didn't.
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 v1.12
1.11.3 works
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
fixed the startup issue. Time to update the new package..
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.
Status bar says --Normal-- but works like usual VSCode.
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
Neovim: configure the path to neovim and restart the editor
onDidChangeNotification @ notificationsAlerts.ts:40
````
I went to the extensions settings, and defined the path, which I found from the terminal by running
$ which nvim
/usr/local/bin/nvim
```
I put it in, restarted VS Code and it worked!
I had this same issue, but when I went to the developer console, it told me
Neovim: configure the path to neovim and restart the editor onDidChangeNotification @ notificationsAlerts.ts:40I went to the extensions settings, and defined the path, which I found from the terminal by running
$ which nvim /usr/local/bin/nvimI put it in, restarted VS Code and it worked!
it does work for me
Most helpful comment