-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clearer documentation about setting node environment for sublime to what prettier was installed with #26
Comments
The problem was that my environment (Sublime) was running a different version of node than what I used to install prettier with (and use in my project). So I had to point to sublime to use the same version of Node for its environment as I am using for prettier for it to work. |
Related issue: #5 |
@jonlabelle, why are you closing this? |
So I had to point to sublime to use the same version of Node for its environment as I am using for prettier for it to work. Please contribute the documentation you feel is approprate by making a pull request. Thanks. |
Explicitly stating where to set the node environment for Sublime Text to make it work for nvm. Fixes issue jonlabelle#26
PR created |
Done. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
See solution. |
After installing prettier and following the instructions I was hitting this issue:
I wasn't sure what the problem was. After some digging, I found that I needed to have my node environment for sublime (for me project specific) as
prettier
was installed with. Setting this in my .sublime-project file solved it for me:This was not super obvious to me. Could this be documented clearer somewhere?
Related issue: prettier/prettier#99 (comment)
The text was updated successfully, but these errors were encountered: