Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch on Ubuntu #67

Open
ir-g opened this issue Jan 20, 2017 · 5 comments
Open

Unable to launch on Ubuntu #67

ir-g opened this issue Jan 20, 2017 · 5 comments

Comments

@ir-g
Copy link

ir-g commented Jan 20, 2017

I'm on Ubuntu 16.04 LTS, and when I attempt to launch tide, the application appears to start launching(appears in app dock on left), and then disappears. While, this works well for me on Windows, it is frustrating that this sint working for me on Linux. Are there any know helpers/solutions to this problem?

@joerick
Copy link
Member

joerick commented Jan 20, 2017

Hey ir-g, I've not heard of this one before. Sounds like it's crashing before it has a chance to boot up. Would you be able to get some logs of the crash somehow? Perhaps you could start Tide from a terminal window?

@ir-g
Copy link
Author

ir-g commented Jan 20, 2017 via email

@joerick
Copy link
Member

joerick commented Jan 20, 2017

I don't know, I'm not really a Linux guy!

Any Ubuntu users please chime in!

@ir-g
Copy link
Author

ir-g commented Jan 20, 2017

I've just mangaged to find where tide is installed for me: /opt/Tide.
Location of tide was found via dpkg -L tide.

When running, I get:

module.js:442
    throw err;
    ^

Error: Cannot find module '/opt/Tide/resources/electron.asar/browser/init.js'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.runMain (module.js:575:10)
    at run (bootstrap_node.js:360:7)
    at startup (bootstrap_node.js:152:9)
    at bootstrap_node.js:479:3

This is because the /opt/Tide/resources directory requires Sudo(admin) access to Read/Write/etc to. As a brute force solution. I did the following.

cd /opt/Tide
sudo chmod -R 777 resources/

This makes the /opt/Tide/resources readable and writeable to anyone. More fine-tuned permissions should be used in any realistic scenario, but that was the source of the issue.

@chrisbeardy
Copy link

@ir-g I had the same issue here, your solution worked for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants