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 can't rerun project #1098

Open
muratgorken opened this issue Mar 1, 2024 · 0 comments
Open

I can't rerun project #1098

muratgorken opened this issue Mar 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@muratgorken
Copy link

Describe the bug
yarn install errors.

Extension Version
i18n Ally

Framework/i18n package you are using
vscode

To Reproduce
Steps to reproduce the behavior:

  1. clone repo.
  2. command line "yarn install" as like said in wiki

Device Infomation

  • OS: windows
  • Version: 10
  • VS Code Version: version 1.87

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

PS D:\Server\www\opensource\i18n-ally> yarn install
yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/6] ⠈ nodejieba
[-/6] ⠈ waiting...
[-/6] ⠈ waiting...
[-/6] ⠈ waiting...
warning Error running install script for optional dependency: "D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@1.0.5
node-pre-gyp info using node@20.11.1 | win32 | x64
node-pre-gyp info check checked for \"D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release\\nodejieba.node\" (not found)
node-pre-gyp http GET https://github.com/yanyiwu/nodejieba/releases/download/v2.5.2/nodejieba-v2.5.2-node-v115-win32-x64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.5.2/nodejieba-v2.5.2-node-v115-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for nodejieba@2.5.2 and node@20.11.1 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.5.2/nodejieba-v2.5.2-node-v115-win32-x64.tar.gz

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" clean )  else (node \"\" clean )
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@20.11.1 | win32 | x64
gyp info ok

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" configure --fallback-to-build --module=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release\\nodejieba.node --module_name=nodejieba --module_path=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115 )  else (node \"\" configure --fallback-to-build --module=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release\\nodejieba.node --module_name=nodejieba --module_path=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115 )
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@20.11.1 | win32 | x64
gyp info find Python using Python version 3.12.2 found at \"C:\\Python312\\python.exe\"

gyp info find VS using VS2022 (17.8.34511.84) found at:
gyp info find VS \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\\Python312\\python.exe
gyp info spawn args [
gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'D:\\\\Server\\\\www\\\\opensource\\\\i18n-ally\\\\node_modules\\\\nodejieba\\\\build\\\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\\\Users\\\\\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\20.11.1\\\\include\\\\node\\\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\\\Users\\\\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\20.11.1',
gyp info spawn args '-Dnode_gyp_dir=C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\\\\\Users\\\\\\\\\\\\\\\AppData\\\\\\\\Local\\\\\\\\node-gyp\\\\\\\\Cache\\\\\\\\20.11.1\\\\\\\\<(target_arch)\\\\\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\\\\Server\\\\www\\\\opensource\\\\i18n-ally\\\\node_modules\\\\nodejieba',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'D:\\\\Server\\\\www\\\\opensource\\\\i18n-ally\\\\node_modules\\\\nodejieba\\\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info ok

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba>if not defined npm_config_node_gyp (node \"C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" build --fallback-to-build --module=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release\\nodejieba.node --module_name=nodejieba --module_path=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115 )  else (node \"\" build --fallback-to-build --module=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release\\nodejieba.node --module_name=nodejieba --module_path=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115 )
gyp info it worked if it ends with ok
gyp info using node-gyp@10.0.1
gyp info using node@20.11.1 | win32 | x64
gyp info spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build\\\\binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]

  index.cpp
  nodejieba.cpp
D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(87,70): error C2039: 'ptr_fun': bir 'std' �yesi de�il [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)
  D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StdExtension.hpp(32,11):
  'std' bildirimine bak�n

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(87,70): error C2065: 'ptr_fun': bildirimi yap�lmam�� tan�mlay�c� [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(87,78): error C2062: 'unsigned int' t�r� beklenmiyor [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(92,61): error C2039: 'ptr_fun': bir 'std' �yesi de�il [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)
  D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StdExtension.hpp(32,11):
  'std' bildirimine bak�n

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(92,61): error C2065: 'ptr_fun': bildirimi yap�lmam�� tan�mlay�c� [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(92,69): error C2062: 'unsigned int' t�r� beklenmiyor [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(101,70): error C2039: 'bind2nd': bir 'std' �yesi de�il [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)
  D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StdExtension.hpp(32,11):
  'std' bildirimine bak�n

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(101,70): error C3861: 'bind2nd': tan�mlay�c� bulunamad� [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(101,27): error C2672: 'std::find_if': e�le�en a��r� y�klenmi� i�lev bulunamad� [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)
  C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\include\\algorithm(373,19):
  '_FwdIt std::find_if(_ExPo &&,_FwdIt,_FwdIt,_Pr) noexcept' olabilirdi
  \tD:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(101,27):
  \t'_FwdIt std::find_if(_ExPo &&,_FwdIt,_FwdIt,_Pr) noexcept': 4 ba��ms�z de�i�ken bekleniyor - 2 sa�land�
  C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\include\\xutility(6299,31):
  veya       '_InIt std::find_if(_InIt,const _InIt,_Pr)'
  \tD:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(101,27):
  \t'_InIt std::find_if(_InIt,const _InIt,_Pr)': 3 ba��ms�z de�i�ken bekleniyor - 2 sa�land�

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(106,61): error C2039: 'bind2nd': bir 'std' �yesi de�il [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)
  D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StdExtension.hpp(32,11):
  'std' bildirimine bak�n

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(106,61): error C3861: 'bind2nd': tan�mlay�c� bulunamad� [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)

D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(106,16): error C2672: 'std::find_if': e�le�en a��r� y�klenmi� i�lev bulunamad� [D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\nodejieba.vcxproj]
  ('../lib/nodejieba.cpp' kaynak dosyas� derleniyor)
  C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\include\\algorithm(373,19):
  '_FwdIt std::find_if(_ExPo &&,_FwdIt,_FwdIt,_Pr) noexcept' olabilirdi
  \tD:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(106,16):
  \t'_FwdIt std::find_if(_ExPo &&,_FwdIt,_FwdIt,_Pr) noexcept': 4 ba��ms�z de�i�ken bekleniyor - 2 sa�land�
  C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.38.33130\\include\\xutility(6299,31):
  veya       '_InIt std::find_if(_InIt,const _InIt,_Pr)'
  \tD:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\deps\\limonp\\StringUtil.hpp(106,16):
  \t'_InIt std::find_if(_InIt,const _InIt,_Pr)': 3 ba��ms�z de�i�ken bekleniyor - 2 sa�land�

gyp ERR! build error
gyp ERR! stack Error: `C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Current\\Bin\\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\lib\\build.js:209:23)
gyp ERR! stack at ChildProcess.emit (node:events:518:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"build\" \"--fallback-to-build\" \"--module=D:\\\\Server\\\\www\\\\opensource\\\\i18n-ally\\\\node_modules\\\\nodejieba\\\\build\\\\Release\\\\nodejieba.node\" \"--module_name=nodejieba\" \"--module_path=D:\\\\Server\\\\www\\\\opensource\\\\i18n-ally\\\\node_modules\\\\nodejieba\\\\build\\\\Release\" \"--napi_version=9\" \"--node_abi_napi=napi\" \"--napi_build_version=0\" \"--node_napi_label=node-v115\"
gyp ERR! cwd D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba
gyp ERR! node -v v20.11.1
gyp ERR! node-gyp -v v10.0.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd build --fallback-to-build --module=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release\\nodejieba.node --module_name=nodejieba --module_path=D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba\\build\\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\@mapbox\\node-pre-gyp\\lib\\util\\compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:518:28)
node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
node-pre-gyp ERR! System Windows_NT 10.0.19045
node-pre-gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"D:\\\\Server\\\\www\\\\opensource\\\\i18n-ally\\\\node_modules\\\\@mapbox\\\\node-pre-gyp\\\\bin\\\\node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd D:\\Server\\www\\opensource\\i18n-ally\\node_modules\\nodejieba
node-pre-gyp ERR! node -v v20.11.1
node-pre-gyp ERR! node-pre-gyp -v v1.0.5
node-pre-gyp ERR! not ok
Done in 23.31s.

Screenshots
When press f5
Activating extension 'lokalise.i18n-ally' failed: Cannot find module 'd:\Server\www\opensource\i18n-ally\dist\extension' Require stack: - c:\Users\x\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js - c:\Users\x\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js - c:\Users\x\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js - .

@muratgorken muratgorken added the bug Something isn't working label Mar 1, 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
Development

No branches or pull requests

1 participant