[Question] Is it possible to know why JsPrettier is not triggering when it should
See original GitHub issueMy JsPrettier config:

{
"auto_format_on_save": true,
"auto_format_on_save_excludes": [
"*/node_modules/*",
],
"prettier_cli_path": "/opt/homebrew/bin/prettier",
}
I then open a file like this and press save and nothing happens.

If I try to run this command, also nothing happens:

I don’t get why though because the location to prettier is correct. If I do this in my terminal it works:
/opt/homebrew/bin/prettier --help
Usage: prettier [options] [file/dir/glob ...]
By default, output is written to stdout.
Stdin is read if it is piped to Prettier and no files are given.
Any way to debug the issue?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to properly re-configure JSPrettier after an update with a ...
When I open the console to see what the error is it says: The system cannot find the path specified. (CR). The settings...
Read more >JsPrettier Sublime Error 'Couldn't Resolve Parser "babel"'
I've reinstalled both plugins now and am still getting the same error. Currently working in a project with create-react-app. JsPrettier version ...
Read more >How to configure Prettier and VSCode - Gleb Bahmutov
If you click on the "Prettier" extension word in the status bar, it should open the Prettier output tab. It shows what Prettier...
Read more >JsPrettier is a Sublime Text Plug-in for Prettier, the ... - GitHub
When the setting is empty, the plug-in will attempt to find Prettier by: Locally installed prettier relative to active view. Locally installed prettier...
Read more >Prettier + Format On Save = Never worry about ... - Scott Sauber
I find when using Prettier, along with the Format On Save option in VS Code, I don't think about how to format my...
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
Apparently your node binary path isn’t being resolved.
Try explicitly setting it here.
This issue has been automatically locked due to inactivity. Please open a new issue for related bugs.