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

Failed Install in Settings, Clone to Packages #1

Open
tmatijevich opened this issue May 15, 2021 · 0 comments
Open

Failed Install in Settings, Clone to Packages #1

tmatijevich opened this issue May 15, 2021 · 0 comments

Comments

@tmatijevich
Copy link

I'm unable to install this on my side. I get the following output.

Installing “language-tree-test@0.1.0” failed.Hide output…

> tree-sitter-test@0.1.0 install C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test
> node-gyp rebuild


C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test>if not defined npm_config_node_gyp (node "C:\Users\tmatijevich\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Users\tmatijevich\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(399,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
  parser.c
  binding.cc
  win_delay_load_hook.cc
c:\users\tmatijevich\appdata\local\node-gyp\cache\9.4.4\include\node\v8.h(9116): warning C4996: 'v8::MicrotasksCompletedCallback': Use *WithData version. (compiling source file ..\src\binding.cc) [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
  c:\users\tmatijevich\appdata\local\node-gyp\cache\9.4.4\include\node\v8.h(7345): note: see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\binding.cc)
c:\users\tmatijevich\appdata\local\node-gyp\cache\9.4.4\include\node\v8.h(9124): warning C4996: 'v8::MicrotasksCompletedCallback': Use *WithData version. (compiling source file ..\src\binding.cc) [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
  c:\users\tmatijevich\appdata\local\node-gyp\cache\9.4.4\include\node\v8.h(7345): note: see declaration of 'v8::MicrotasksCompletedCallback' (compiling source file ..\src\binding.cc)
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(13): error C2065: 'Handle': undeclared identifier [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(13): error C2275: 'v8::Object': illegal use of this type as an expression [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
  c:\users\tmatijevich\appdata\local\node-gyp\cache\9.4.4\include\node\v8.h(3658): note: see declaration of 'v8::Object'
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(13): error C2065: 'exports': undeclared identifier [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(13): error C2065: 'module': undeclared identifier [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(13): error C2182: 'Init': illegal use of type 'void' [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(13): error C2448: '`anonymous-namespace'::Init': function-style initializer appears to be a function definition [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]
c:\users\tmatijevich\appdata\local\temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\src\binding.cc(26): warning C4312: 'type cast': conversion from 'int' to 'node::addon_register_func' of greater size [C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test\build\tree_sitter_test_binding.vcxproj]

gyp ERR! build error 
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\tmatijevich\AppData\Local\atom\app-1.57.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:223:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Users\\tmatijevich\\AppData\\Local\\atom\\app-1.57.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\tmatijevich\\AppData\\Local\\atom\\app-1.57.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\node_modules\language-tree-test\node_modules\tree-sitter-test
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\TMATIJ~1\AppData\Local\Temp\apm-install-dir-2021415-1404-n42ily.pzhi\package.json'
npm WARN apm-install-dir-2021415-1404-n42ily.pzhi No description
npm WARN apm-install-dir-2021415-1404-n42ily.pzhi No repository field.
npm WARN apm-install-dir-2021415-1404-n42ily.pzhi No README data
npm WARN apm-install-dir-2021415-1404-n42ily.pzhi No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! tree-sitter-test@0.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the tree-sitter-test@0.1.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\tmatijevich\.atom\.apm\_logs\2021-05-15T23_28_51_272Z-debug.log

Is the tree-sitter-test parser automatically installed?
Do I need a certain version of node-gyp installed.

@tmatijevich tmatijevich changed the title Install in Settings, Clone to Packages Failed Install in Settings, Clone to Packages May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant