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

Installation error #9

Closed
KELiON opened this issue Mar 17, 2016 · 28 comments
Closed

Installation error #9

KELiON opened this issue Mar 17, 2016 · 28 comments

Comments

@KELiON
Copy link

KELiON commented Mar 17, 2016

When I try to install this plugin I see this error:

captura de pantalla 2016-03-17 a las 13 42 33

But I see disabled plugin in plugins list. When I try to enable it with opened developer tools I see this in console:

https://gist.github.com/KELiON/6adcfba37b1a91ecc96b

OsX 10.11.1
Nylas N1 0.4.14-53cd69b

@1vank1n
Copy link

1vank1n commented Mar 18, 2016

Same error. @KELiON, did you find desicion?

@joelostblom
Copy link

Same error, the folder is added to ./nylas/packages, but the plugin fails to install. This is on Linux (kernel 4.4.5-1) with Nylas 0.4.14-53cd69b.

@1vank1n
Copy link

1vank1n commented Mar 21, 2016

I found the answer. You need to install Atom.

@KELiON
Copy link
Author

KELiON commented Mar 21, 2016

@1vank1n it is installed on my machine

@1vank1n
Copy link

1vank1n commented Mar 21, 2016

@KELiON, strangely... after install Atom and relaunch Nylas problem was solved.

@angusfretwell
Copy link

I have Atom installed (not sure why this is a requirement), and am also experiencing this issue.

@angusfretwell
Copy link

Running apm install from the plugin directory manually (~/.nylas/packages/N1-Markdown-Composer) works fine; after that the plugin functions as expected.

@KELiON
Copy link
Author

KELiON commented Mar 23, 2016

@angusfretwell thanks, it works for me! But now something is broken in styles :(
captura de pantalla 2016-03-23 a las 10 10 07

@angusfretwell
Copy link

@KELiON Make sure the plugin directory is called exactly N1-Markdown-Composer (i.e. not N1-Markdown-Composer-master if you downloaded it as a zip from GitHub), and then restart the app.

@KELiON
Copy link
Author

KELiON commented Mar 23, 2016

Finally! captura de pantalla 2016-03-23 a las 10 25 34

@KELiON KELiON closed this as completed Mar 23, 2016
@angusfretwell
Copy link

Woohoo!

I think you should re-open this ticket, as I think the failed apm install you initially reported is a bug (maybe it's a problem with Nylas rather than this plugin), and it should be investigated.

@KELiON KELiON reopened this Mar 23, 2016
@devonzuegel
Copy link

I had the same issues. Renaming the directory from N1-Markdown-Composer-master to N1-Markdown-Composer and running apm directly in the directory worked for me.

@angusfretwell
Copy link

I have a suspicion that the directory being named N1-Markdown-Composer-master might have caused the initial apm install issue.

@KELiON
Copy link
Author

KELiON commented Mar 24, 2016

@angusfretwell nope, I just tried to uninstall, and install from N1-Markdown-Composer folder and it is failded

@1vank1n
Copy link

1vank1n commented Mar 25, 2016

I just installed. Short instruction:

  1. Download zip
  2. Unpack
  3. Rename folder to N1-Markdown-Composer
  4. Move unpacked folder to ~/.nylas/packages/
  5. Check that Nylas app closed
  6. In terminal cd ~/.nylas/packages/N1-Markdown-Composer
  7. apm install
  8. wait... Done!

@jstejada
Copy link
Contributor

Hi all, indeed the installation problem is due to the fact that apm does not currently support installing dependencies from Github atom/apm#355

The instructions provided by @1vank1n should be good as a workaround, I'm going to update the readme to include them.

Thanks! and sorry for the trouble

@jcreamer898
Copy link

After following the steps above, when I re-opened Nylas, I was unable to type a message at all...

@plainclothes
Copy link

I'm getting the same problem. When I install the package manually from console, it appears to succeed. When I launch N1, the plug-in is disabled. At that point, composing works as expected. Once I enable Markdown, the message area in the composer is just gone. Tabbing from the 'subject' field just cycles back to the recips. There is no message field.

@fobbyal
Copy link

fobbyal commented Apr 25, 2016

Is this suppose to work for windows? I am having similar problems. Although i suspect it might be a apm issue. The dependency modules are stil installed in deeply nested folders that are not supported under the windows operating system (path too long). NPM fixed this issue after version 3. I am not sure if there is a updated apm that does things differently.

@jstejada
Copy link
Contributor

jstejada commented May 4, 2016

Hi everyone, I've updated the plugin in 4884152 to work correclty with the latest N1 version. Let me know if you're still running into issues

cc @jcreamer898

@jstejada jstejada closed this as completed May 4, 2016
@jcreamer898
Copy link

So, now the editor works, however, no markdown plugin loads probably because of...

@devonzuegel
Copy link

I made some progress by running:

$ npm install underscore -d
// output
$ npm install react -d
// output
$ npm install react-dom -d
// output

Then I checked and unchecked the plugin toggle in Preferences/Plugins/Installed Plugins.

I'm no longer receiving those "Failed to activate *" messages, but now I'm getting:

image

@MagisDing
Copy link

MagisDing commented May 10, 2016

Followed the detailed instructions by @1vank1n ,still not working. I got the prompt"installing modules successful" after running "apm install", but couldn't got the markdown interface.
OS: mac OS 10.11.4
Nylas: Version 0.4.33-e8f137e (0.4.33-e8f137e)

@youlu-cn
Copy link

@devonzuegel is it working right now? Seems that I have the same issue with you.

@devonzuegel
Copy link

@youlu-cn Nope, I unfortunately couldn't get it to work.

@yuphone
Copy link

yuphone commented May 17, 2016

I followed the approach of @1vank1n , it showed "Installing modules done", but there's no markdown in mail window at all. I hope more update on it.
Thanks guys!

OS: Windows 10

@savior1980
Copy link

savior1980 commented Jun 1, 2016

I am in the same point as @devonzuegel tried install underscore and react but finally the plugin fails to load in composer window. OS: Mac OS X 10.11.5 Nylas: Versión 0.4.40-85cf726 (0.4.40-85cf726)

nylas1
nylas2

And 7 more exceptions similar to the ones already reported in this thread

@jstejada
Copy link
Contributor

hi all! I've pushed an update that should resolve all dependency issues and work correctly with the latest N1 version. More details here: 6a0d325

Let me know if you continue having issues. Thanks for your patience! cc @devonzuegel , @jcreamer898, @savior1980, @MagisDing , @youlu-cn, @yuphone

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