terkelg / ramme

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

dist/renderer/styles/app.css not found in /opt/Ramme/resources/app.asar #275

Closed hacker1024 closed 5 years ago

hacker1024 commented 6 years ago

Built and installed on arch linux. There is only an SCSS file in the asar.

Uncaught Exception:
Error: ENOENT, dist/renderer/styles/app.css not found in /opt/Ramme/resources/app.asar
    at notFoundError (ELECTRON_ASAR.js:115:19)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:513:9)
    at WebContents.page.on (/opt/Ramme/resources/app.asar/src/main/index.js:154:23)
    at emitOne (events.js:96:13)
    at WebContents.emit (events.js:191:7)
ghost commented 6 years ago

Same problem, with both the .tar.gz and the .pacman. Help?

anatolinicolae commented 6 years ago

After some basic research I think the issue might be of SASS files not getting compiled due a lack of libsass on arch, can anyone confirm you can do that?

ghost commented 6 years ago

@anatolinicolae What do I do, just try to build?

hacker1024 commented 6 years ago

@anatolinicolae The PKGBUILD in the AUR package just downloads the .deb and extracts it. It doesn't compile anything. EDIT: I'm building from source with npm and testing.

hacker1024 commented 6 years ago

@anatolinicolae There's no error anymore, whether I build the app with libsass installed or not. However, in both cases, the sidebar doesn't show up at all, and the only button at the bottom is the upload button. There's no way to access any other pages.

image

hacker1024 commented 6 years ago

I tried building v3.2.3 - there's still no error either way, but the buttons are at the bottom, and there's space where the sidebar should be.

image

anatolinicolae commented 6 years ago

Sidebar Missing

Yeah, I removed the sidebar thing in the last release 'cause I didn't have enough time to fix it.

275

Regarding the SASS assets, I decompressed myself the pacman package and found the same as reported before. Cannot actually tell where's the problem though. The build script builds assets once, then should package the same compiled assets into destination-specific packages, which doesn't seem to happen... 🤔

anatolinicolae commented 6 years ago

Can you guys try building the app with a little change? Try with dist/main instead of src/main in app/package.json and let me know if the final package works fine and loads correctly.

aleshh commented 6 years ago

Just installed 3.2.5 via regular dmg and getting this error on launch (old Mac running Sierra). Everything seems to work fine after I dismiss it tho, so win.

screen shot 2018-07-10 at 3 18 22 am

namyrb commented 6 years ago

Also getting this same message in ubuntu 14.04:

ramme_error_1

And after I quit out:

ramme_error_2

s5bug commented 6 years ago

I'm getting the same issue on GalliumOS whether I install the deb using dpkg or build from source using yarn dist.

elartix commented 6 years ago

OS: Mint 18.3 sylvia Kernel: x86_64 Linux 4.15.0-29-generic

image

pacokleitz commented 6 years ago

Error at every startup on Ubuntu 18.04 after installing from amd64.deb: errorramme

gnanet commented 5 years ago

Error at every startup on Ubuntu 18.04 after installing from amd64.deb: errorramme

Same here 18.04 amd64.deb of 3.2.5

lakarpusky commented 5 years ago

Same here, ubuntu 18.04 (Ramme_3.2.5_amd64.deb) screenshot_2019-01-25_12-56-28

ivogrig commented 5 years ago

Same with ubuntu 16.04 and Ramme_3.2.5_amd64.deb

abdeelmadjid commented 5 years ago

same problem on windows 10 pro Ramme-Setup-3.2.5.exe the t app stays on splash screen but after closing the dialog it's run normally image image