terkelg / ramme

Unofficial Instagram Desktop App.
MIT License
3.32k stars 400 forks source link

A JavaScript error occured in the main procces #325

Closed nabildjulfiansyah closed 5 years ago

nabildjulfiansyah commented 5 years ago

Uncaught exception: Error: ENOENT, dist/renderer/styles/app.css not found in /opt/ramme/ resources/app.asar at notFoundError (ELECTRON_ASAR.js:114:19) at Object.fs.readFileSync (ELECTRON_ASAR.js:518:9) at WebContents.page.on(/opt/ramme/resources/app.asar/src/main/ index.js:156:23 at emitOne (event.js:116:13) at WebContents.emit (events.js:211:7)

caraka commented 5 years ago

as reported by OP, on ubuntu 18.04 LTS

ghost commented 5 years ago

It looks like it's an error because of those style files, I've extracted the asar archive which is where the source of Ramme is and I've deleted those lines then archived it again. Here's my app.asar, if you want to get rid of those errors, put this into your /opt/Ramme/resources/ (or wherever your source is) with sudo (sudo mv ./app.asar /opt/Ramme/resources/) and replace the current one (backup it first).

You can trust my domain, it's safe kek~ - @caraka @NabilDjulfiansyah ⬇️ https://eggsybot.xyz/dl/ramme/app.asar

tcyrus commented 5 years ago

Encountering issue on Windows 10

talentlessguy commented 5 years ago

Yeah I have the same problem on Windows 8.1

maxk77 commented 5 years ago

It looks like it's an error because of those style files, I've extracted the asar archive which is where the source of Ramme is and I've deleted those lines then archived it again. Here's my app.asar, if you want to get rid of those errors, put this into your /opt/Ramme/resources/ (or wherever your source is) with sudo (sudo mv ./app.asar /opt/Ramme/resources/) and replace the current one (backup it first).

You can trust my domain, it's safe kek~ - @caraka @NabilDjulfiansyah ⬇️ https://eggsybot.xyz/dl/ramme/app.asar

MacOS 10.13.6
Thx! Problem Solved after this step. Could you think about update the file in Release?

ditokp commented 5 years ago

Have this problem too on Linux Lite 4.2

kylemiller3 commented 5 years ago

+1

fharper commented 5 years ago

I have this problem on macOS Mojave 10.14.4 with Ramme version 3.2.5.243

vanja-san commented 5 years ago

Is it possible to somehow solve this problem without user intervention? Can update be released!? 2019-04-16-22-28-05

DolleDries commented 5 years ago

Somebody cares to explain what is wrong where and how to fix (rebuild) this app.asar?