HeliosLauncher
HeliosLauncher copied to clipboard
Error: Cannot not find module '@electron/remote/main'
I copied the code in sample_distribution.json as it is, created a link using the github raw, and put the link in the distromanger, and this error appears. How do I fix this?
May you show me your package.json please?
Did you run npm install..?
Did you run npm install..?
yes
May you show me your package.json please?
{ "name": "helioslauncher", "version": "1.9.0", "productName": "Helios Launcher", "description": "Modded Minecraft Launcher", "author": "Daniel Scalzi (https://github.com/dscalzi/)", "license": "UNLICENSED", "homepage": "https://github.com/dscalzi/HeliosLauncher", "bugs": { "url": "https://github.com/dscalzi/HeliosLauncher/issues" }, "private": true, "main": "index.js", "scripts": { "start": "electron .", "dist": "electron-builder build", "dist:win": "npm run dist -- -w", "dist:mac": "npm run dist -- -m", "dist:linux": "npm run dist -- -l", "lint": "eslint --config .eslintrc.json ." }, "engines": { "node": "16.x.x" }, "dependencies": { "@electron/remote": "^0.0.1", "adm-zip": "^0.5.9", "async": "^3.2.3", "discord-rpc-patch": "^4.0.1", "ejs": "^3.1.6", "ejs-electron": "^2.1.1", "electron-updater": "^4.6.5", "fs-extra": "^10.0.0", "github-syntax-dark": "^0.5.0", "got": "^11.8.3", "helios-core": "~0.1.0", "jquery": "^3.6.0", "node-stream-zip": "^1.15.0", "request": "^2.88.2", "semver": "^7.3.5", "tar-fs": "^2.1.1", "winreg": "^1.2.4" }, "devDependencies": { "electron": "^20.1.2", "electron-builder": "^23.5.0", "eslint": "^8.8.0" }, "repository": { "type": "git", "url": "git+https://github.com/dscalzi/HeliosLauncher.git" } }
here
- i'm installed @electron/remote
did you solve it? I have the same error
- make sure that you have the right nodejs version : minimum node 16
- run
npm i
if I have a version and also execute the command and I get the same error
I get this after putting the command
I get this after putting the command
Not an error just a warning
running npm start gives me the error :c
do node --version
please
there is
Oh ... use another folder, reason : fuck onedrive (don't use documents folder)
I already changed folder and I get the same
have you modified or did anything before npm i and npm start ?
just change the name of the launcher and put my git profile
ok so should not cause problems
I think it come from your environement so maybe try in a fresh vm
ok thanks i will try
I already left thank you very much
npm i와 npm이 시작되기 전에 수정했거나 아무 것도하지 않았습니까?
i'm was deleted package lock json
I think it come from your environement so maybe try in a fresh vm
how to fix?
@VonDefiant could you explain what caused your issue and how to fix it, for anyone else having this? I have never had this issue so I can't really comment.
@dscalzi
reinstall the node JS and select the option that marks in the image after that I tried to execute the command again and it worked
It doesn't work even if I reinstall it.
You should install only npm package manager and check the box to install all tools, that worked for me