{"id":25191842,"url":"https://github.com/supertigerdev/electron-11.3.0-gyp-fail","last_synced_at":"2025-07-01T22:32:20.251Z","repository":{"id":106018824,"uuid":"342671697","full_name":"SupertigerDev/electron-11.3.0-gyp-fail","owner":"SupertigerDev","description":"latest electron error :/","archived":false,"fork":false,"pushed_at":"2021-02-27T08:48:18.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:51:53.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SupertigerDev.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-26T18:55:10.000Z","updated_at":"2021-02-27T08:48:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddaf8443-28db-477f-9f4b-940ed14c98a7","html_url":"https://github.com/SupertigerDev/electron-11.3.0-gyp-fail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SupertigerDev/electron-11.3.0-gyp-fail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Felectron-11.3.0-gyp-fail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Felectron-11.3.0-gyp-fail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Felectron-11.3.0-gyp-fail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Felectron-11.3.0-gyp-fail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SupertigerDev","download_url":"https://codeload.github.com/SupertigerDev/electron-11.3.0-gyp-fail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Felectron-11.3.0-gyp-fail/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263046593,"owners_count":23405225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-09T22:36:56.052Z","updated_at":"2025-07-01T22:32:20.177Z","avatar_url":"https://github.com/SupertigerDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"`npm run dist-win` - works fine   \n`npm i extract-file-icon`   \n`npm run dist-win` - node-gyp error   \nDowngrading electron to from 11.3.0 to 11.2.3 fixes this error, but why? :(   \n`npm i electron@11.2.3`   \n`npm run dist-win` - works fine   \n\n```log\nPS D:\\Fishie\\Desktop\\test\u003e npm run dist-win\n\n\u003e test@1.0.0 dist-win\n\u003e electron-builder\n\n  • electron-builder  version=22.9.1 os=10.0.19042\n  • description is missed in the package.json  appPackageFile=D:\\Fishie\\Desktop\\test\\package.json\n  • writing effective config  file=dist\\builder-effective-config.yaml\n  • rebuilding native dependencies  dependencies=extract-file-icon@0.3.2 platform=win32 arch=x64\n  ⨯ cannot execute  cause=exit status 1\n                    errorOut=npm ERR! code 1\n    npm ERR! path D:\\Fishie\\Desktop\\test\\node_modules\\extract-file-icon\n    npm ERR! command failed\n    npm ERR! command C:\\Windows\\system32\\cmd.exe /d /s /c npm run rebuild\n    npm ERR! \u003e extract-file-icon@0.3.2 rebuild\n    npm ERR! \u003e node-gyp rebuild\n    npm ERR! gyp info it worked if it ends with ok\n    npm ERR! gyp info using node-gyp@7.1.2\n    npm ERR! gyp info using node@14.16.0 | win32 | x64\n    npm ERR! gyp info find Python using Python version 2.7.18 found at \"C:\\Python27\\python.exe\"\n    npm ERR! gyp info find VS using VS2017 (15.9.28307.1401) found at:\n    npm ERR! gyp info find VS \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\"\n    npm ERR! gyp info find VS run with --verbose for detailed information\n    npm ERR! gyp info spawn C:\\Python27\\python.exe\n    npm ERR! gyp info spawn args [\n    npm ERR! gyp info spawn args   'C:\\\\Users\\\\Fishie\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\gyp\\\\gyp_main.py',\n    npm ERR! gyp info spawn args   'binding.gyp',\n    npm ERR! gyp info spawn args   '-f',\n    npm ERR! gyp info spawn args   'msvs',\n    npm ERR! gyp info spawn args   '-I',\n    npm ERR! gyp info spawn args   'D:\\\\Fishie\\\\Desktop\\\\test\\\\node_modules\\\\extract-file-icon\\\\build\\\\config.gypi',\n    npm ERR! gyp info spawn args   '-I',\n    npm ERR! gyp info spawn args   'C:\\\\Users\\\\Fishie\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\addon.gypi',\n    npm ERR! gyp info spawn args   '-I',\n    npm ERR! gyp info spawn args   'C:\\\\Users\\\\Fishie\\\\.electron-gyp\\\\11.3.0\\\\common.gypi',\n    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',\n    npm ERR! gyp info spawn args   '-Dvisibility=default',\n    npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\\\Users\\\\Fishie\\\\.electron-gyp\\\\11.3.0',\n    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\\\Users\\\\Fishie\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp',\n    npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\\\\\Users\\\\\\\\Fishie\\\\\\\\.electron-gyp\\\\\\\\11.3.0\\\\\\\\\u003c(target_arch)\\\\\\\\node.lib',\n    npm ERR! gyp info spawn args   '-Dmodule_root_dir=D:\\\\Fishie\\\\Desktop\\\\test\\\\node_modules\\\\extract-file-icon',\n    npm ERR! gyp info spawn args   '-Dnode_engine=v8',\n    npm ERR! gyp info spawn args   '--depth=.',\n    npm ERR! gyp info spawn args   '--no-parallel',\n    npm ERR! gyp info spawn args   '--generator-output',\n    npm ERR! gyp info spawn args   'D:\\\\Fishie\\\\Desktop\\\\test\\\\node_modules\\\\extract-file-icon\\\\build',\n    npm ERR! gyp info spawn args   '-Goutput_dir=.'\n    npm ERR! gyp info spawn args ]\n    npm ERR! gyp: C:\\Users\\Fishie\\.electron-gyp\\11.3.0\\common.gypi not found (cwd: D:\\Fishie\\Desktop\\test\\node_modules\\extract-file-icon) while reading includes of binding.gyp while trying to load binding.gyp\n    npm ERR! gyp ERR! configure error\n    npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1\n    npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (C:\\Users\\Fishie\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\lib\\configure.js:351:16)\n    npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:315:20)\n    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)\n    npm ERR! gyp ERR! System Windows_NT 10.0.19042\n    npm ERR! gyp ERR! command \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Users\\\\Fishie\\\\AppData\\\\Roaming\\\\npm\\\\node_modules\\\\npm\\\\node_modules\\\\node-gyp\\\\bin\\\\node-gyp.js\" \"rebuild\"\n    npm ERR! gyp ERR! cwd D:\\Fishie\\Desktop\\test\\node_modules\\extract-file-icon\n    npm ERR! gyp ERR! node -v v14.16.0\n    npm ERR! gyp ERR! node-gyp -v v7.1.2\n    npm ERR! gyp ERR! not ok\n    npm ERR! npm ERR! code 1\n    npm ERR! npm ERR! path D:\\Fishie\\Desktop\\test\\node_modules\\extract-file-icon\n    npm ERR! npm ERR! command failed\n    npm ERR! npm ERR! command C:\\Windows\\system32\\cmd.exe /d /s /c node-gyp rebuild\n    npm ERR!\n    npm ERR! npm ERR! A complete log of this run can be found in:\n    npm ERR! npm ERR!     C:\\Users\\Fishie\\AppData\\Local\\npm-cache\\_logs\\2021-02-26T18_59_30_356Z-debug.log\n\n    npm ERR! A complete log of this run can be found in:\n    npm ERR!     C:\\Users\\Fishie\\AppData\\Local\\npm-cache\\_logs\\2021-02-26T18_59_30_379Z-debug.log\n\n                    command='C:\\Program Files\\nodejs\\node.exe' 'C:\\Users\\Fishie\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js' rebuild extract-file-icon@0.3.2\n                    workingDir=\nnpm ERR! code 1\nnpm ERR! path D:\\Fishie\\Desktop\\test\nnpm ERR! command failed\nnpm ERR! command C:\\Windows\\system32\\cmd.exe /d /s /c electron-builder\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     C:\\Users\\Fishie\\AppData\\Local\\npm-cache\\_logs\\2021-02-26T18_59_30_420Z-debug.log\nPS D:\\Fishie\\Desktop\\test\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupertigerdev%2Felectron-11.3.0-gyp-fail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupertigerdev%2Felectron-11.3.0-gyp-fail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupertigerdev%2Felectron-11.3.0-gyp-fail/lists"}