Vim: Does not start due to error finding './../actions/commands/actions' module on Linux on ChromeOS

Created on 9 Dec 2019  路  5Comments  路  Source: VSCodeVim/Vim

Describe the bug
I'm trying to run VSCode by installing it on Linux on ChromeOS. I don't think the ChromeOS part should change much / it should work as a normal Linux environment. I've enabled the Vim extension in it but it just does not start up--cursor is the normal cursor and I don't enter Vim normal mode. Here's an error stack trace:
```Activating extension 'vscodevim.vim' failed: Cannot find module './../actions/commands/actions'
Require stack:

  • /home/snikhilesh/.vscode/extensions/vscodevim.vim-1.12.0/out/src/register/register.js
  • /home/snikhilesh/.vscode/extensions/vscodevim.vim-1.12.0/out/src/actions/operator.js
  • /home/snikhilesh/.vscode/extensions/vscodevim.vim-1.12.0/out/src/actions/include-all.js
  • /home/snikhilesh/.vscode/extensions/vscodevim.vim-1.12.0/out/extension.js
  • /usr/share/code/resources/app/out/vs/loader.js
  • /usr/share/code/resources/app/out/bootstrap-amd.js
  • /usr/share/code/resources/app/out/bootstrap-fork.js.
    ```

To Reproduce

  1. Enable 'Linux apps' on ChromeOS, install VSCode through the .deb. I don't know if the fact that it's on ChromeOS is relevant in this case, but it might be.
  2. Install the Vim extension from the extension sidebar in VSCode.
  3. Restart VSCode just in case.
  4. No Vim mode. :(

Expected behavior
Enter Vim mode.

Screenshots
image

  • Extension (VsCodeVim) version: 1.12.0
  • VSCode version: 1.40.2
  • OS: Linux on ChromeOS

Most helpful comment

Same on Mac, resolved by installing 1.11.3 (previous) version

All 5 comments

Same on Mac, resolved by installing 1.11.3 (previous) version

@BolotskyDev -- Yep, that fixed it for me. Guess this is a general issue with the latest version!

It is, the file is missing in ~/.vscode/extensions/vscodevim.vim-1.12.0/out/src/actions/commands/

@CermakM yep, I have it checked as well. It seems like a very popular problem with latest 1.12 patch , here is another related issue #4342

Fixed in 1.12.1, sorry for the trouble.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

triztian picture triztian  路  3Comments

ghost picture ghost  路  3Comments

AndersenJ picture AndersenJ  路  3Comments

waltiam picture waltiam  路  3Comments

cckowin picture cckowin  路  3Comments