-
Notifications
You must be signed in to change notification settings - Fork 4
Error: spawn EACCES When I type something in php file #104
Comments
Hmmm, usually that error pops up when a directory is put into the executable path, instead of the full path to the executable. Generally you should be able to leave it at the default ( You can find this on your system by running |
I am using a mac so would I type it in my terminal? usage: which [-as] program ... as the output |
I also tried npm install atom-linter@~4.6.1 from another thread: |
|
It says: Error: Failed to spawn command phpmd. Make sure phpmd is installed and on your PATH |
Okay, that's progress at least. What do you get when you run |
It returns nothing |
|
Hmm, I thought I read in your first post that you already had Have you installed |
yes I installed it, I forgot to include phpmd in the first sentence. Linter-phpmd is phpmd right? |
Not quite, You need to have |
ohh I see I only installed php and the composer. How would I download phpmd? I tried the command but it did not work. Could I have installed composer wrong? |
The page I linked to lists several different ways of installing I'm not sure what command you tried that didn't work, but making sure you have Composer working will probably be your first step. |
Yup I followed that website to install composer and I got composer to work but the error on atom still pops up :( |
Make sure to have CodeSniffer installed. Instructions for Ubuntu: sudo apt install phpmd
sudo apt install php-pear
sudo pear install PHP_CodeSniffer Then, restart Atom. |
Hello! I have just recently downloaded Atom and got packages for php, html, css, and haskell. I have been working on my php file a few day ago with no error, however today this error came up. I'm not sure if I'm missing packages or if my executable PATH is not right. What does this error mean?
Community packages downloaded for php:
linter-php
linter-phpcs
linter-phpmd
php-cs-fixer
php-debug
Sorry if I am posting this in the wrong section
The text was updated successfully, but these errors were encountered: