Closed prescience-data closed 2 years ago
@prescience-data did you manage to fix this (based on your newer issue)? I mainly work on mac/linux but I do have a windows computer I can set up and try debug this if you are still having the issue. I don't think I have included any system specific code.
Yes it was a configuration error in that I'd included a "dockerfile" json node (which is not valid).
For reference, this was reported when running via the CLI, so if there is a way to pass these more verbose messages through to the IDE notification it would help a lot (as the existing "The configured dprint executable is invalid" message is a bit vague by comparison).
Ah awesome, I will try see if I can pass something better through. One thing to note is there is likely the information you need in the IDE log, I will see if I can get that to surface up without being too noisy.
I get a string of IDE errors when trying to use the plugin with WebStorm/PhpStorm on Windows.
I may be pointing the plugin at the incorrect executable, but so far I've tried the following:
node_modules/dprint/dprint.exe
node_modules/dprint/bin.js
node_modules/dprint/node_modules/.bin/dprint
node_modules/dprint/node_modules/.bin/dprint.CMD
node_modules/dprint/node_modules/.bin/dprint.ps1
Errors
Context
Additional Troubleshooting
I have removed all Node copies and installed via
scoop
as per the documentation instructions, and get this IDE error: (note: I also got this error when using the.exe
via Node)