You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon beautifying the file, I get an error telling me that PHP may not be installed.
I do have the proper path set in the package config executable's section, and I do have PHP in my path. Because it used to work fine before the update.
I just can not see what I am doing wrong.
I also rebooted Atom after setting the executable's path.
Could not find 'PHP'. The program may not be installed.
See http://php.net/manual/en/install.php for program installation instructions.
You can configure Atom Beautify with the absolute path to 'php' by setting 'Executable - PHP - Path' in the Atom Beautify package settings.
Your program is properly installed if running 'which PHP' in your Terminal returns an absolute path to the executable. If this does not work then you have not installed the program correctly and so Atom Beautify will not find the program. Atom Beautify requires that the program be found in your PATH environment variable.
Note that this is not an Atom Beautify issue if beautification does not work and the above command also does not work: this is expected behaviour, since you have not properly installed your program. Please properly setup the program and search through existing Atom Beautify issues before creating a new issue. See https://github.com/Glavin001/atom-beautify/search?q=PHP&type=Issues for related Issues and https://github.com/Glavin001/atom-beautify/tree/master/docs for documentation. If you are still unable to resolve this issue on your own then please create a new issue and ask for help.
Hide Stack Trace
Error: Could not find 'PHP'. The program may not be installed.
at Function.Executable.commandNotFoundError (/xxx/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:272:14)
at HybridExecutable.Executable.commandNotFoundError (/xxx/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:264:18)
at /xxx/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:115:25
at tryCatcher (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/async.js:143:10)
at Async.drainQueues (/xxx/.atom/packages/editorconfig/node_modules/bluebird/js/release/async.js:17:14)
at process._tickCallback (internal/process/next_tick.js:103:7)
Workaround:
For now I downgraded using: apm install atom-beautify@0.29.26
And ran the "Atom beautify - migrate settings" tool.
So this confirms the latest version is the issue here.
The text was updated successfully, but these errors were encountered:
Upon beautifying the file, I get an error telling me that PHP may not be installed.
I do have the proper path set in the package config executable's section, and I do have PHP in my path. Because it used to work fine before the update.
I just can not see what I am doing wrong.
I also rebooted Atom after setting the executable's path.
Workaround:
For now I downgraded using:
apm install atom-beautify@0.29.26
And ran the "Atom beautify - migrate settings" tool.
So this confirms the latest version is the issue here.
The text was updated successfully, but these errors were encountered: