simonpacis / obsidian-grammarly-plugin

Add Grammarly spellchecking to Obsidian.md.
GNU General Public License v3.0
234 stars 11 forks source link

The plugin is not loading #1

Closed harmindersinghnijjar closed 2 years ago

harmindersinghnijjar commented 2 years ago

After following the quick start guide for installing the plugin and trying to enable it, I get a popup modal in the upper right-hand side saying, "Failed to load plugin obsidian-grammarly-plugin"

The steps I followed are:

  1. Download obsidian-grammarly-plugin.zip from the latest release.
  2. Extract the file in a .obsidian/plugins folder in your Vault (.obsidian is probably hidden)
  3. Open Obsidian, go to "Community Plugins" and enable "Grammarly Plugin".

Obsidian_OQyc1pJyAH

simonpacis commented 2 years ago

Hi,

Sorry to hear you're experiencing problems with this plugin. Is your Obsidian updated to 1.0.0 and does your folder structure n your vault look like the below image?

Screen Shot 2022-10-14 at 5 53 37 PM

If yes, then would you please provide me with all output from the Obsidian console? You can open it by pressing command+option+i(different shortcut on Windows I am sure) in Obsidian. Click on "Console" in the drawer that opens, then make sure verbose logs are on. See the image below:

image

Now try to enable the plugin and post the output here.

All the best, Simon

harmindersinghnijjar commented 2 years ago

I am currently using version 1.0.0 of Obsidian.

Below are screenshots of my Obsidian plugins and the Grammarly plugin in File Explorer:

Rdt3i63j5m

Sd8vHoTGb8

Here's the screenshot of my console with verbose logs on:

Obsidian_MU2JNFvNWU

harmindersinghnijjar commented 2 years ago

After changing main.ts to main.js in the folder, I get the following output in the console:

Obsidian_qzgJxdu25G

simonpacis commented 2 years ago

Hi Harminder,

Ah, I see what's going on. You're downloading the entire repo, not the release.

Go to this link: https://github.com/simonpacis/obsidian-grammarly-plugin/releases/tag/0.1.1

And download the "obsidian-grammarly-plugin.zip". This is the one you need to extract.

All the best, Simon

harmindersinghnijjar commented 2 years ago

I followed the directions provided above, and now the plugin is working correctly. Thank you for your quick responses, and good luck with developing this plugin!

jjmachan commented 2 years ago

ran into the same issue but I was someone looking to maybe contribute too and help out anyways I can so I was wondering what the dev setup was like

Also thanks for this plugin mate 😃 🙌🏽

simonpacis commented 2 years ago

Thanks for pointing this out. I've updated the README to be more clear on this point!