Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

gc-stats@npm:1.4.1 couldn't be built successfully

Open chunjiu opened this issue 1 year ago • 5 comments

1734486083654

{ "name": "rocket.chat", "version": "7.2.0-develop", "description": "Rocket.Chat Monorepo", "main": "index.js", "private": true, "scripts": { "build": "turbo run build", "build:services": "turbo run build --filter=rocketchat-services...", "build:ci": "turbo run build:ci", "testunit": "turbo run testunit", "dev": "turbo run dev --env-mode=loose --parallel [email protected]/meteor...", "dsv": "turbo run dsv --env-mode=loose [email protected]/meteor...", "lint": "turbo run lint", "storybook": "yarn workspace @rocket.chat/meteor run storybook", "fuselage": "./fuselage.sh", "fossify": "TS_NODE_COMPILER_OPTIONS='{"module": "commonjs"}' ts-node scripts/fossify.ts" }, "devDependencies": { "@changesets/cli": "^2.27.9", "@types/chart.js": "^2.9.41", "@types/js-yaml": "^4.0.9", "ts-node": "^10.9.2", "turbo": "^2.2.3" }, "workspaces": [ "apps/", "packages/", "ee/apps/", "ee/packages/", "apps/meteor/ee/server/services" ], "repository": { "type": "git", "url": "git+https://github.com/RocketChat/Rocket.Chat.git" }, "author": "", "license": "MIT", "bugs": { "url": "https://github.com/RocketChat/Rocket.Chat/issues" }, "homepage": "https://github.com/RocketChat/Rocket.Chat#readme", "engines": { "yarn": "4.5.3", "node": "20.18.0", "npm": "Use yarn instead" }, "packageManager": "[email protected]", "houston": { "minTag": "0.55.0-rc.0", "updateFiles": [ "package.json", "apps/meteor/app/utils/rocketchat.info" ] }, "volta": { "node": "20.18.0", "yarn": "1.22.18" }, "resolutions": { "minimist": "1.2.6", "adm-zip": "0.5.9", "underscore": "1.13.7", "lodash": "4.17.21", "mongodb@^4.17.1": "patch:mongodb@npm:4.17.1#.yarn/patches/mongodb-npm-4.17.1-a2fe811ff1.patch", "typia@~6.9.0": "patch:typia@npm%3A6.9.0#./.yarn/patches/typia-npm-6.9.0-2fd4d85f25.patch", "moleculer@^0.14.34": "patch:moleculer@npm%3A0.14.34#./.yarn/patches/moleculer-npm-0.14.34-440e26767d.patch", "mongodb@npm:^4.3.1": "patch:mongodb@npm%3A4.17.2#~/.yarn/patches/mongodb-npm-4.17.2-40d1286d70.patch" }, "dependencies": { "@types/stream-buffers": "^3.0.7", "node-gyp": "^10.2.0" } }

chunjiu avatar Dec 18 '24 01:12 chunjiu

@kanishka-coder0809 1734503093245

chunjiu avatar Dec 18 '24 06:12 chunjiu

Hello @chunjiu I would like to work in this issue and get assigned , Can you please tell the issue in more detail .

No one assigns issues.

Read all of this document, but especially here please.

https://gist.github.com/reetp/b0ba4e3d0ea2ff48ca9da00a5a647d42#github

You can't fix anything unless you know what is wrong so you need to triage the issue first, which is most likely setup and not a bug.

reetp avatar Dec 18 '24 12:12 reetp

1734486083654

Where is all your debug info as per the bug template? We can't help without that.

What OS?

If you read all the docs you will see you need WSL2 + minimum 12Gb RAM.

Read this for more on setup:

https://gist.github.com/reetp/b0ba4e3d0ea2ff48ca9da00a5a647d42#it-wont-build

reetp avatar Dec 18 '24 12:12 reetp

@chunjiu https://github.com/RocketChat/Rocket.Chat/pull/34213 please review the pull request

jalajk3004 avatar Dec 21 '24 14:12 jalajk3004

@chunjiu https://github.com/RocketChat/Rocket.Chat/pull/34213 please review the pull request

Don't @ It is not necessary, and can be annoying and get you muted/ignored.

Have you worked out what the actual issue is? Properly diagnosed & triaged it? Unless you have and documented it, don't propose changes than may do more harm than good.

The OP needs to post some proper background, setup etc as requested.

reetp avatar Dec 21 '24 19:12 reetp

Hi @chunjiu, I had a similar issue and fixed it by installing Visual Studio 2022 with the "Development with C++" workload installed ;)

CoderXAyush avatar Feb 17 '25 18:02 CoderXAyush

gc-stats was replaced by a more up-to-date alternative, this issue should not appear anymore. Feel free to reopen it if you find it again.

KevLehman avatar Jan 13 '26 18:01 KevLehman