PHP Intelephense extension not working
See original GitHub issuecode-serverversion: 1.31.1-100- OS Version: CentOS 7.6
- Extension: https://github.com/bmewburn/vscode-intelephense
Description
Error: Cannot find module 'vscode-languageserver'
at Module.r.require.e [as require] (/app/code-server:468:26234)
at Object.i.__awaiter.n (~/.code-server/extensions/bmewburn.vscode-intelephense-client-1.0.8/node_modules/intelephense/lib/intelephense.js:39:155362)
at n (~/.code-server/extensions/bmewburn.vscode-intelephense-client-1.0.8/node_modules/intelephense/lib/intelephense.js:39:113)
at Object.<anonymous> (~/.code-server/extensions/bmewburn.vscode-intelephense-client-1.0.8/node_modules/intelephense/lib/intelephense.js:39:147092)
at n (~/.code-server/extensions/bmewburn.vscode-intelephense-client-1.0.8/node_modules/intelephense/lib/intelephense.js:39:113)
at Object.i.__awaiter.n (~/.code-server/extensions/bmewburn.vscode-intelephense-client-1.0.8/node_modules/intelephense/lib/intelephense.js:39:146712)
[Error - 18:00:17] Connection to server got closed. Server will not be restarted.
Steps to Reproduce
Install the extension and open a php file.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Intelephense doesn't seem to work at all in my VSCode ...
Same problem. I'm on Ubuntu. The extension doesn't work at all. All the PHP files are grey: Screenshot from 2021-04-19 12-39-49 ...
Read more >VSCode PHP Intelephense doesn't detect my libraries
I've installed the VSCode PHP Intelephense extension and configured it according to its description. But, as I've said, I only get completion ...
Read more >Visual Studio Code PHP Intelephense Keep Showing Not ...
PHP : Visual Studio Code PHP Intelephense Keep Showing Not Necessary Error [ Beautify Your Computer ...
Read more >VS Code Insiders — PHP Intelephense is not working in M1 ...
Step 3: Open the extension settings of PHP Intelliphense. Find Intelliphense: Runtime setting and paste your node path. That's it! :).
Read more >Setting up Visual Studio Code to work with PHP
Within Visual Studio Code, go to the “Extensions” tab and search PHP. Uninstall PHP IntelliSense (it will be installed by default); Install PHP...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Works like a charm. Thanks!
@foresthoffman My man, nicely done