question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PHP Intelephense extension not working

See original GitHub issue

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:closed
  • Created 5 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
HeavyHorstcommented, Mar 22, 2019

Works like a charm. Thanks!

1reaction
RiFi2kcommented, Mar 20, 2019

@foresthoffman My man, nicely done

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found