-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Unable to install jsregexp (OS: Windows) #1220
Comments
I have the very same issue with a clean install of Neovim and clean pull of the plugin. |
Wow. And at the end of the day, it doesn't make one whit of difference. I finally fought through all the nonsense necessary to get the make files and everything building without errors in the right directory and everything. The following screenshot is of me using the MSYS2 UCRT64 command window to do an uninstall and a reinstall in the very LuaSnip folder: The |
For anyone following this thread, or other other threads about the difficulties of getting jsregexp working with Luasnip on Windows, I posted a reply today on one of the jsregexp issues that explains how I eventually got it working. I hope it might prove useful to others as a guide what not to do and what to do as well. |
Please have a try for the fix #1252 |
Having a lot of troubles with the makefile Line 87 in 0f7bbce
I replaced that with $(CURDIR) otherwise PROJECT_ROOT just evaluated to "" .
Line 84 in 0f7bbce
and I replaced this with LUA_LDLIBS?=$(if $(strip $(NEOVIM_BIN_PATH)),-L$("NEOVIM_BIN_PATH") -llua51,) , note the quotation marks otherwise it struggled with the space in "Program Files"
that got it to run the makefile in powershell and msys. also it doesnt seem to work with llvm but only gcc? otherwise i still get linking errors. and yeah then it still doesnt do anything just like @JohnWilliston said |
How do you install LuaSnip and do you use any package manager? I have tested locally on powershell 7.4.6 and git bash, both worked fine. |
For my part, I use the following
|
@JohnWilliston If you are using local IN_WINDOWS = vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1
return {
"L3MON4D3/LuaSnip",
build = IN_WINDOWS and "make install_jsregexp CC=gcc" or "make install_jsregexp",
-- more ...
}
|
@zeratax |
I appreciate the attempts to help, thank you. I've moved on after finding the workaround I linked above. |
Hi, I have checked #569 but I have a slightly different situation.
OS: Windows 10
Neovim Version:
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
The installation of Luasnip via Lazy gives the following message
Additional info:
I have installed gcc, g++, zig, and clang (Visual Studio) is installed on my machine before installing Luasnip.
Could anyone help? Thanks.
The text was updated successfully, but these errors were encountered: