-
Notifications
You must be signed in to change notification settings - Fork 68
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
Error: Cannot find module 'd:\Program' with gvim installed in "d:\Program Files (x86)\Vim" #68
Comments
Seems similar to #67 |
@wangxxi what version of node and vim you use? |
C:\Users\wangxi>node --version and gvim with VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:59:02) thanks. |
tried the latest C:\Users\wangxi>node --version still the same issue seems the program does not handle well the case of windows path
thanks. |
Also it may be this issue. Did you define path to |
at first I use the default, it has that error then I copy the d:\Program Files (x86)\Vim\vimfiles\bundle\vim-jsbeautify\plugin\lib\js\lib\ to c:\lib (to avoid space) and has the config like this path=c:\lib\beautify.js but still it show the same error Error: Cannot find module 'd:\Program' it seems still looking for something in d: I have put the _vimrc in d:\Program Files (x86)\Vim\vimfiles\ and also the system user dir. |
@wangxxi Thanks! What say command in vim?
Maybe we does not find custom .editorconfig.... Try set config through vim let g:config_Beautifier = {}
let g:config_Beautifier['js'] = {}
let g:config_Beautifier['js'].indent_size = '4'
let g:config_Beautifier['js'].path = '...' |
@lenny0702 Thanks for feedback. Let's try to look at the problem from the top down. It will be cool 👍 if you try debug from js and find a place where broken path(if it is really broken). |
@lenny0702 yup, but quote path is not fully resolve problem because Thanks |
How workaround you can put plugin to |
Related #63 |
A little ugly indeed... |
1 similar comment
A little ugly indeed... |
@lenny0702 do you use Cygwin? |
module.js:340
throw err;
^
Error: Cannot find module 'd:\Program'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:
could you please help ?
The text was updated successfully, but these errors were encountered: