Skip to content
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

I'm trying to install the package on my window and get the following error: #86

Closed
huyphamhaha opened this issue Jun 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@huyphamhaha
Copy link

huyphamhaha commented Jun 28, 2024

` E:\huychatbot> npm install @llm-tools/embedjs

npm warn deprecated @aws-sdk/[email protected]: This package has moved to @smithy/protocol-http
npm warn deprecated @aws-sdk/[email protected]: This package has moved to @smithy/signature-v4
npm warn deprecated [email protected]: no longer maintained
npm error code 1
npm error path E:\huychatbot\node_modules\mmmagic-patched
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm error apprentice.c
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(425,2): error C2061: syntax error: identifier 'mode_t' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(451,1): error C2059: syntax error: '}' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(515,19): error C2061: syntax error: identifier 'sread' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(515,19): error C2059: syntax error: ';' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(515,25): error C2059: syntax error: '' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(573,9): error C2061: syntax error: identifier 'pread' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(573,9): error C2059: syntax error: ';' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(573,15): error C2059: syntax error: '' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(595,9): error C2061: syntax error: identifier 'getline' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(595,9): error C2059: syntax error: ';' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(595,17): error C2059: syntax error: '' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(596,9): error C2061: syntax error: identifier 'getdelim' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(596,9): error C2059: syntax error: ';' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\file.h(596,18): error C2059: syntax error: '' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(462,7): error C2037: left of 'flags' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(470,17): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(470,31): warning C4133: 'function': incompatible types - from 'magic_map *' to 'mlist *' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(470,36): warning C4047: 'function': 'magic_map *' differs in levels of indirection from 'size_t' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(470,36): warning C4024: 'add_mlist': different types for formal and actual parameter 2 [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(470,7): error C2198: 'add_mlist': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(485,20): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(485,34): warning C4047: 'function': 'mlist *' differs in levels of indirection from 'int' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(485,34): warning C4024: 'apprentice_list': different types for formal and actual parameter 1 [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(485,4): error C2198: 'apprentice_list': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(487,20): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(487,34): warning C4047: 'function': 'mlist *' differs in levels of indirection from 'int' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(487,34): warning C4024: 'apprentice_list': different types for formal and actual parameter 1 [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(487,4): error C2198: 'apprentice_list': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(503,14): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(503,3): error C2198: 'mlist_free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(504,7): error C2037: left of 'o' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(504,2): error C2198: 'free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(505,7): error C2037: left of 'o' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(505,2): error C2198: 'free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(506,7): error C2037: left of 'c' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(506,2): error C2198: 'free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(516,12): error C2027: use of undefined type 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(525,2): error C2037: left of 'o' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(525,14): error C2037: left of 'o' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(526,2): error C2037: left of 'o' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(527,9): error C2037: left of 'c' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(527,35): error C2037: left of 'c' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(529,7): error C2037: left of 'c' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(532,2): error C2037: left of 'event_flags' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(533,2): error C2037: left of 'error' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(535,3): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(536,2): error C2037: left of 'file' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(537,2): error C2037: left of 'line' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(538,2): error C2037: left of 'indir_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(539,2): error C2037: left of 'name_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(540,2): error C2037: left of 'elf_shnum_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(541,2): error C2037: left of 'elf_phnum_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(542,2): error C2037: left of 'elf_notes_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(543,2): error C2037: left of 'regex_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(544,2): error C2037: left of 'bytes_max' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(601,14): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(601,3): error C2198: 'mlist_free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(602,3): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(648,14): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(648,3): error C2198: 'mlist_free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(649,8): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(650,27): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(650,4): error C2198: 'file_oomem': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(661,18): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(661,32): warning C4133: 'function': incompatible types - from 'magic_map *' to 'mlist *' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(661,37): warning C4047: 'function': 'magic_map *' differs in levels of indirection from 'size_t' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(661,37): warning C4024: 'add_mlist': different types for formal and actual parameter 2 [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(661,8): error C2198: 'add_mlist': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(696,14): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(696,3): error C2198: 'mlist_free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(697,8): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(698,27): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(698,4): error C2198: 'file_oomem': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(700,16): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(700,5): error C2198: 'mlist_free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(701,5): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(724,15): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(724,4): error C2198: 'mlist_free': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(725,4): error C2037: left of 'mlist' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(870,2): error C2065: 'ssize_t': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(870,10): error C2146: syntax error: missing ';' before identifier 'val' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(870,10): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(916,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(921,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(926,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(932,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(937,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(946,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(957,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(961,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(966,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(971,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(983,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(986,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(989,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(992,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(998,6): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(999,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1006,3): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1007,9): error C2065: 'val': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1180,2): error C2065: 'ssize_t': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1180,10): error C2146: syntax error: missing ';' before identifier 'len' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1180,10): error C2065: 'len': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1183,18): error C2037: left of 'file' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1183,12): error C2198: 'fopen': too few arguments for call [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1194,7): error C2037: left of 'line' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1194,22): error C2065: 'len': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1194,28): warning C4013: 'getline' undefined; assuming extern returning int [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1195,6): error C2037: left of 'line' specifies undefined struct/union 'magic_set' [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1196,7): error C2065: 'len': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1198,12): error C2065: 'len': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1200,9): error C2065: 'len': undeclared identifier [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error E:\huychatbot\node_modules\mmmagic-patched\deps\libmagic\src\apprentice.c(1200,9): error C1003: error count exceeds 100; stopping compilation [E:\huychatbot\node_modules\mmmagic-patched\build\deps\libmagic\libmagic.vcxproj]
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info find Python using Python version 3.12.2 found at "C:\Users\ASUS\AppData\Local\Programs\Python\Python312\python.exe"
npm error gyp info find VS using VS2022 (17.10.35013.160) found at:
npm error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Users\ASUS\AppData\Local\Programs\Python\Python312\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'E:\huychatbot\node_modules\mmmagic-patched\build\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\ASUS\AppData\Local\node-gyp\Cache\20.15.0\include\node\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\Users\ASUS\AppData\Local\node-gyp\Cache\20.15.0',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\Users\\ASUS\\AppData\\Local\\node-gyp\\Cache\\20.15.0\\<(target_arch)\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=E:\huychatbot\node_modules\mmmagic-patched',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'E:\huychatbot\node_modules\mmmagic-patched\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build\binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
npm error gyp ERR! stack at ChildProcess. (C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm error gyp ERR! cwd E:\huychatbot\node_modules\mmmagic-patched
npm error gyp ERR! node -v v20.15.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\ASUS\AppData\Local\npm-cache_logs\2024-06-28T15_46_04_667Z-debug-0.log`

@adhityan adhityan added the bug Something isn't working label Jun 29, 2024
@adhityan
Copy link
Collaborator

adhityan commented Jul 3, 2024

Have published a new version replacing the dependency that was breaking all windows installs. Could you check with version 0.0.90 and let me know if your issue is resolved?

@adhityan
Copy link
Collaborator

adhityan commented Jul 4, 2024

Closing this. Duplicate of #85

@adhityan adhityan closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants