maksimr/vim-jsbeautify

Cannot find content file

Closed this issue · 7 comments

Здравствуй, Максим!

By some reason the node module cannot find the content file, I tried debugging it and it appears that the contentPath variable is undefined. Is there some other option in .editorconfig or somewhere else for setting the filepath to the current file.

Спосибо ;)

@nshahpazov hi!

It is strange. What version of node you use?
You can look at this line

Is there some other option in .editorconfig or somewhere else for setting the filepath to the current file.

Something similar

Hey Maksim,

I'm using v0.10.25 x86.

In the first line you sent me, content_path is undefined, file before read also. I'll look more into it. Do you have any ideas according to the node version? I will give it a try it 64bit.

@nshahpazov
what say command :echo g:tmp_file_Beautifier in vim?

It says /tmp/vqDxU2N/0 which is empty

@nshahpazov try debug this line.

What command you run for formatting?
Thanks!

Everything's working perfectly now with a different nodejs. Sorry to bother you.

Thanks!

@nshahpazov wow! Great! :)

I'm added node@0.10 to CI