Hello.
I use Cursor 1.0.0 and several VS Code extensions are failing to activate with “Cannot find module” errors, despite being properly installed. These extensions work correctly in VS Code.
Affected Extensions
- Laravel Blade Formatter (shufo.vscode-blade-formatter v0.24.6)
- PHP Tools (DEVSENSE.phptools-vscode v1.58.17223)
- Todo Highlight (wayou.vscode-todo-highlight v1.0.5)
- Composer PHP (DEVSENSE.composer-php-vscode v1.58.17223)
Error Messages
All extensions show similar errors. Here are the error messages from the extension host log:
Error: Cannot find module 'c:\Users\Georgina\.cursor\extensions\shufo.vscode-blade-formatter-0.24.6\dist\extension.js'
Require stack:
- c:\Users\Georgina\AppData\Local\Programs\cursor\resources\app\out\vs\workbench\api\node\extensionHostProcess.js
Error: Cannot find module 'c:\Users\Georgina\.cursor\extensions\devsense.phptools-vscode-1.58.17223-win32-x64\out\src\extension.js'
Require stack:
- c:\Users\Georgina\AppData\Local\Programs\cursor\resources\app\out\vs\workbench\api\node\extensionHostProcess.js
Error: Cannot find module 'c:\Users\Georgina\.cursor\extensions\wayou.vscode-todo-highlight-1.0.5\src\extension'
Require stack:
- c:\Users\Georgina\AppData\Local\Programs\cursor\resources\app\out\vs\workbench\api\node\extensionHostProcess.js
Error: Cannot find module 'c:\Users\Georgina\.cursor\extensions\devsense.composer-php-vscode-1.58.17223\out\src\extension'
Require stack:
- c:\Users\Georgina\AppData\Local\Programs\cursor\resources\app\out\vs\workbench\api\node\extensionHostProcess.js
Steps to Reproduce
- Install any of the mentioned extensions from the marketplace
- Open a project that would typically use these extensions
- Check the extension host log at:
%AppData%\Cursor\logs\[timestamp]\window1\exthost\exthost.log
Expected Behavior
- Extensions should activate properly upon installation and when needed
- Extensions should function as they do in VS Code
Actual Behavior
- Extensions fail to activate
- Error logs show “Cannot find module” errors for extension files
- The required .js files appear to be missing from the extension directories
From the errors, it seems that Cursor is either not properly installing or extracting the extensions. All errors point to missing files in the extension directories.