Vim cannot be used after installing jshint plug-in, and ~ symbol appears when setting the plug-in running path. I use win system, how should I change it?

  question, vim

The following is the path set. The path starts with ~ symbol, but I use win10. How can I modify this path to make it work in win system?

let jshint2_command = '~/path/to/node_modules/.bin/jshint'

The following is a screenshot of the error message

clipboard.png

Is this really jshint’s real path? I don’t know much about it, but if the path is not wrong, try it.expand('~/path/to/node_modules/.bin/jshint')