Skip to content

Unable to install jsregexp (OS: Windows) #1220

@hrcHarry

Description

@hrcHarry

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

git submodule init
process_begin: CreateProcess(NULL, uname, ...) failed.
process_begin: CreateProcess(NULL, pwd, ...) failed.
process_begin: CreateProcess(NULL, pwd, ...) failed.
git submodule update
make "CC=cc" "INCLUDE_DIR=-I'/deps/lua51_include/'" LDLIBS="" -C "deps/jsregexp"
make[1]: Entering directory `C:/Users/User/AppData/Local/nvim-data/lazy/LuaSnip/deps/jsregexp'
cc -I'/deps/lua51_include/' -O2 -fPIC -c jsregexp.c -o jsregexp.o
process_begin: CreateProcess(NULL, cc -I/deps/lua51_include/ -O2 -fPIC -c jsregexp.c -o jsregexp.o, ...) failed.

make[1]: *** [jsregexp.o] Error 2
make[1]: Leaving directory `C:/Users/User/AppData/Local/nvim-data/lazy/LuaSnip/deps/jsregexp'
make: *** [jsregexp] Error 2

Additional info:
I have installed gcc, g++, zig, and clang (Visual Studio) is installed on my machine before installing Luasnip.

Could anyone help? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions