E
E
elena_dreams2017-06-15 22:17:52
JavaScript
elena_dreams, 2017-06-15 22:17:52

How to add prettier to Webstorm?

When setting up prettier in Webstorm, it throws an error
Error running Prettier: Cannot run program "C:\Users\Dreams\AppData\Roaming\npm\node_modules\prettier\bin\prettier.js" (in directory "F:\IT\EasyCode\JavaScript_Course "): CreateProcess error=193, %1 is not a Win32 application
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sample84, 2017-10-19
@sempl84

For windows users and if prettier is installed globally, the path must be:
`C:\Users\{{USERNAME}}\AppData\Roaming\npm\prettier.cmd`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question