-
Notifications
You must be signed in to change notification settings - Fork 0
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
failed to load plugin #1
Comments
Not sure if its the official way to do it but I got it to work by installing with npm.
|
Same problem |
Yes this is a step that I use when developing it, I assumed that once the main.js is generated this would not be necessary. @cristianmtr apologies for the late reaction, I don't seem to get emails for this project for some reason. |
Hey! I'm having the same problem. I tried to solve it by:
After that, I did the
Once again I got multiple errors when I tried to install the plugin with npm (see errors2.txt). I realized there were a lot of missing modules/properties/... so I did the following: Here I stopped because I might be getting this all wrong. I don't have experience with npm, so I would be grateful if someone could help me out. Thank you in advance for reading my message. |
All that I did, to install and use the plugin is this: npm i # to install dependencies
npm run dev # to start compilation in watch mode See also https://github.com/obsidianmd/obsidian-sample-plugin#how-to-use Though after compiling I can just reboot my pc and have the plugin work, so I thought the plugin should just work as-is, when the main.js is created, but this is apparently not the case... Will have to look into this further, I'm not a nodejs guru. |
I'm sorry, I just found the error. I was running everything on my HDD instead of my SSD. I normally work with virtual environments in the HDD so it took me a while to notice. Once I gave it a try and did what you mentioned, it worked. Thank you again for helping me out! |
to anyone who had this error when trying to get dataview working for obsidian-html: this is what worked for me: cd /path/to/vault/.obsidian/plugin/
git clone https://github.com/obsidian-html/obs.html
cd obs.html
sudo apt install npm
sudo apt install -y nodejs
sudo npm install -g typescript
npm i
npm run dev in obsidian: |
Hello,
I am trying to use this plugin. However, when I try to activate I get an error "Failed to load plugin" and it doesn't activate.
0.14.15 on Ubuntu
The text was updated successfully, but these errors were encountered: