-
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
"Must define at least one file" error #80
Comments
Hi, Thanks, congrats you to. What OS you use? |
I tried to install different versions of beautifiers, (tried changing editorconfig, but it seems it is not relevant) |
@onemanstartup can print how look this line when you run command. |
Uh. How do i run this? I don't familiar with vimscript. It will take time to figure out this. |
You can change this line on echo engine." ".fnameescape(s:plugin_Root_directory."/beautify.min.js")." --js_arguments ".tmp_file_Beautifier_arg." ".opts_Beautifier_arg." ".path_Beautifier_arg)
return 1 |
Ok. Run through call ErrorMsg()
|
@onemanstartup Thanks! |
It tells the same thing. I cat tmp file and it is containing content of the file. |
Hm.. try simple run |
Here the error fs.js:438
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
TypeError: path must be a string
at Object.fs.openSync (fs.js:438:18)
at Object.fs.readFileSync (fs.js:289:15)
at read (/Users/onemanstartup/Code/dotfiles/vim2/bundle/vim-jsbeautify/plugin/beautify.min.js:1:1462)
at /Users/onemanstartup/Code/dotfiles/vim2/bundle/vim-jsbeautify/plugin/beautify.min.js:1:1581
at Object.<anonymous> (/Users/onemanstartup/Code/dotfiles/vim2/bundle/vim-jsbeautify/plugin/beautify.min.js:1:1982)
at Object.<anonymous> (/Users/onemanstartup/Code/d |
Cool! now let's pass one parameter
|
Here there error
|
Good! Now with empty json
|
It's the same |
Hi countryman, congrats on the holiday.
I'm getting this error, tried different settings, doesn't helped.
The text was updated successfully, but these errors were encountered: